Skip to content

Instantly share code, notes, and snippets.

@z64

z64/nil.rb Secret

Last active December 19, 2016 17:59
Show Gist options
  • Save z64/7ee85f73d70e11f9592eb5621f56ae2f to your computer and use it in GitHub Desktop.
Save z64/7ee85f73d70e11f9592eb5621f56ae2f to your computer and use it in GitHub Desktop.
abc = true if 1 != 1 # Expression
abc = true if false # Simplify 1 != 1
abc = nil # true if false => nil
abc # nil is stored in abc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment