Class: Object

Inherits:
BasicObject
Defined in:
lib/evil.rb

Instance Method Summary collapse

Instance Method Details

#instance_exec(*arguments, &block) ⇒ Object



45
46
47
# File 'lib/evil.rb', line 45

def instance_exec(*arguments, &block)
  block.bind(self)[*arguments]
end