Skip to content

Instantly share code, notes, and snippets.

@jakeboxer
Created February 11, 2014 02:43
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 jakeboxer/8928394 to your computer and use it in GitHub Desktop.
Save jakeboxer/8928394 to your computer and use it in GitHub Desktop.
def something?
true
end
def something_else?
false
end
x = 0
if something?
x = 1
end if something_else?
puts x
# "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment