Skip to content

Instantly share code, notes, and snippets.

Created July 31, 2009 16:16
Show Gist options
  • Save anonymous/159295 to your computer and use it in GitHub Desktop.
Save anonymous/159295 to your computer and use it in GitHub Desktop.
class Greeter
def initialize(name = "World")
@name = name
end
def say_hi("Hi #{@name}!"
end
def say_bye("Bye #{@name}!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment