Class: Lookout::Mock
Overview
Object that doesn’t respond to anything except for what’s been explicitly defined on it and throws a mock error whenever it receives a method call.
Instance Method Summary collapse
Methods inherited from Stub
Constructor Details
This class inherits a constructor from Lookout::Stub
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#inspect ⇒ Object
6 |
# File 'lib/lookout-3.0/mock.rb', line 6 def inspect; 'mock' end |