Class: Lookbook::NullObject

Inherits:
BasicObject
Defined in:
lib/lookbook/support/null_object.rb

Direct Known Subclasses

NullWebsocket

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



3
4
# File 'lib/lookbook/support/null_object.rb', line 3

def method_missing(*)
end

Instance Method Details

#respond_to_missing?(name) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/lookbook/support/null_object.rb', line 6

def respond_to_missing?(name)
  true
end