Last active
February 2, 2016 17:51
-
-
Save Bodacious/0c5a59340de2d5cd9d50 to your computer and use it in GitHub Desktop.
Sometimes I don't know why I bother writing comments in Ruby code...
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
# It's the class for users, silly. | |
class User | |
# Ummm, initializes a new user | |
def initialize(args) | |
@first_name = args[:first_name] | |
@last_name = args[:last_name] | |
end | |
# :| | |
def first_name | |
@first_name | |
end | |
# Sends a refund email to the User... JK, returns the last name | |
def last_name | |
@last_name | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment