Last active
September 28, 2015 16:56
-
-
Save petscheit/83fcfbce055a809d8999 to your computer and use it in GitHub Desktop.
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 FamilyMemebers | |
def name | |
@name # returns @name variable value | |
end | |
def set_name(name) | |
@name = name # assigns new value to @name when called with argument | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment