Create a gist now

Instantly share code, notes, and snippets.

@ashaw /bark.rb Secret
Created Jun 9, 2016

What would you like to do?
class Dog
def initialize(name, sound)
@name = name
@sound = sound
end
def bark
puts "#{@name} says #{@sound}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment