Module: Object::ExpectationsExpectsMethod
- Included in:
- Object
- Defined in:
- lib/expectations/object.rb
Instance Method Summary collapse
Instance Method Details
#expects(*args) ⇒ Object
10 11 12 13 |
# File 'lib/expectations/object.rb', line 10 def expects(*args) Expectations::StandardError.print "expects method called from #{caller[2].chomp(":in `__instance_exec0'")}\n" MochaExpectsMethod.instance_method(:expects).bind(self).call(*args) end |