Skip to content

Instantly share code, notes, and snippets.

@thewatts
Created December 31, 2013 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thewatts/8198012 to your computer and use it in GitHub Desktop.
Save thewatts/8198012 to your computer and use it in GitHub Desktop.
Testing Ruby
class Person
attr_reader :name
def initialize(name)
@name = name
end
def shout_name
@name.upcase
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment