gistlib
other ruby categories
functions code snippets in ruby
gimme a function that take only the first two elements of an array passed to it, even though it can take a variable amount of arguments in ruby
take the cosine of a number in ruby
take the sine of a number in ruby
what is happening here? `def double_integer(i) i << 1 end` in ruby
gistlib
by LogSnag