Last active
April 10, 2016 19:42
-
-
Save dixpac/d61f6a9cf984bd24e814eb781700f4a4 to your computer and use it in GitHub Desktop.
default implementation via attr_reader
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
# default implementation via attr_reader | |
def weight | |
@weight | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment