Created
October 11, 2018 23:07
-
-
Save harrisonmalone/ceef2ed9d1373f560a07a35a85e265f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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