Skip to content

Instantly share code, notes, and snippets.

@simplyb
Created May 12, 2015 14:55
Show Gist options
  • Save simplyb/fa989d7b5f8d16dc47ef to your computer and use it in GitHub Desktop.
Save simplyb/fa989d7b5f8d16dc47ef to your computer and use it in GitHub Desktop.
a = true unless defined? a
=> nil
unless defined? a
a = true
end
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment