Skip to content

Instantly share code, notes, and snippets.

@toddseller
Created December 21, 2015 06:37
Show Gist options
  • Save toddseller/eeafa8d85bc73384fc69 to your computer and use it in GitHub Desktop.
Save toddseller/eeafa8d85bc73384fc69 to your computer and use it in GitHub Desktop.
Initialize Dog
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