Created
December 21, 2015 06:37
-
-
Save toddseller/eeafa8d85bc73384fc69 to your computer and use it in GitHub Desktop.
Initialize Dog
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 Dog | |
def initialize(name, breed) | |
@name = name | |
@breed = breed | |
end | |
end | |
puppy = Dog.new('Atticus', 'German Shepherd') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment