Skip to content

Instantly share code, notes, and snippets.

@apeiros
Created August 10, 2016 19:02
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 apeiros/ee2ee5ee40c2115cb8241dd04b713cae to your computer and use it in GitHub Desktop.
Save apeiros/ee2ee5ee40c2115cb8241dd04b713cae to your computer and use it in GitHub Desktop.
this is afaik mostly for assignment methods. e.g. `a.foo ||= b` expanding to `a.foo = a.foo || b`
would invoke foo= regardless of whether it's necessary. `a.foo || a.foo = b` would not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment