Skip to content

Instantly share code, notes, and snippets.

@starkhorn
Created November 4, 2012 05:07
Show Gist options
  • Save starkhorn/4010401 to your computer and use it in GitHub Desktop.
Save starkhorn/4010401 to your computer and use it in GitHub Desktop.
New person snippet in ruby
Person.new do
self.name = "Ohm"
self.age = 25
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment