Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save harrisonmalone/ceef2ed9d1373f560a07a35a85e265f0 to your computer and use it in GitHub Desktop.
Save harrisonmalone/ceef2ed9d1373f560a07a35a85e265f0 to your computer and use it in GitHub Desktop.
class Dog
def walk(location, distance)
@location = location
@distance = distance
end
end
tilly = Dog.new
tilly.walk("brighton", 5)
p tilly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment