Gistlib Logo

gistlib

other ruby categories

integer code snippets in ruby

find the nth hexagonal number in ruby
round a number to the nearest integer in ruby
take the floor of a number in ruby

gistlibby LogSnag