Class: Lookout::Stub::Object

Inherits:
Object
  • Object
show all
Defined in:
lib/lookout/stub/object.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



8
9
10
# File 'lib/lookout/stub/object.rb', line 8

def method_missing(method, *args)
  self
end

Instance Method Details

#inspectObject



4
5
6
# File 'lib/lookout/stub/object.rb', line 4

def inspect
  'stub'
end