Skip to content

Instantly share code, notes, and snippets.

@mkoby
Created March 2, 2012 22:04
Show Gist options
  • Save mkoby/1961710 to your computer and use it in GitHub Desktop.
Save mkoby/1961710 to your computer and use it in GitHub Desktop.
Test Gist
2 + 2 # => 4
puts "Hello, World!" # => "Hello, World"
my_array = [1, 2, 3, 4, 5] # => [1,2,3,4,5]
def add(x, y)
x + y
end
def length(my_string)
my_string.length
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment