Skip to content

Instantly share code, notes, and snippets.

@Amokrane
Created June 15, 2011 22:52
Show Gist options
  • Save Amokrane/1028326 to your computer and use it in GitHub Desktop.
Save Amokrane/1028326 to your computer and use it in GitHub Desktop.
Superficial improvements shown by @tenderlove at Rubyconf
def some_attribute
@some_attribute
end
# vs
attr_reader :some_attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment