Method: Object#meta_eval
- Defined in:
- lib/not_a_mock/object_extensions.rb
#meta_eval(&block) ⇒ Object
Evaluates the block in the context of this object’s metaclass.
101 102 103 |
# File 'lib/not_a_mock/object_extensions.rb', line 101 def (&block) .instance_eval(&block) end |