Skip to content

Instantly share code, notes, and snippets.

@Bodacious
Last active February 2, 2016 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bodacious/0c5a59340de2d5cd9d50 to your computer and use it in GitHub Desktop.
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...
# 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