Skip to content

Instantly share code, notes, and snippets.

@toothrot
Created February 28, 2011 22:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toothrot/848193 to your computer and use it in GitHub Desktop.
Save toothrot/848193 to your computer and use it in GitHub Desktop.
irb(main):034:0> D, Y = 8, 0
=> [8, 0]
irb(main):035:0> 8===D-- ( Y )
=> true
irb(main):029:0> D = 8
irb(main):038:0> class String
irb(main):039:1> def -@(*args)
irb(main):040:2> 0
irb(main):041:2> end
irb(main):042:1> end
=> nil
irb(main):043:0> 8===D-- ('o')
=> true
$KCODE = "u"
alias :old_eval :eval
def eval(*args)
puts args
old_eval(*args)
end
puts eval(DATA.read)
__END__
Y = 69
def D∼∼∼(*splat)
8
end
8===D∼∼∼ ( Y )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment