Created
January 18, 2016 23:23
-
-
Save anonymous/38b9050bdf593fb3ae87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Greeter | |
def initalize(name = "World") | |
@name = name | |
end | |
def say_hi | |
puts "Hi #{@name}." | |
end | |
def say_bye | |
puts "Bye #{@name}, come back soon homie." | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment