Module: Lookout::Mock
- Defined in:
- lib/lookout/mock.rb
Defined Under Namespace
Classes: Method, Methods, Object
Constant Summary collapse
- Error =
Class.new(StandardError)
Class Method Summary collapse
Class Method Details
.methods ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/lookout/mock.rb', line 11 def methods methods = Methods.new begin yield methods ensure methods.undefine end end |