Skip to content

Instantly share code, notes, and snippets.

@iain
Created November 1, 2012 16:46
Show Gist options
  • Save iain/3994958 to your computer and use it in GitHub Desktop.
Save iain/3994958 to your computer and use it in GitHub Desktop.
Having fun with Ruby
# encoding: utf-8
class FakeRuby
def if(condition)
puts "if called with #{condition}"
end
def end
puts "end called"
end
end
  = FakeRuby.new
 .
if false
puts "I will still be called :)"
 .
end
@steveklabnik
Copy link

eeeeeevil

@jkugs
Copy link

jkugs commented Mar 22, 2020

how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment