Class: Processor::Observer::NullObserver

Inherits:
Object
  • Object
show all
Defined in:
lib/processor/observer/null_observer.rb

Direct Known Subclasses

Logger

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ NullObserver

Returns a new instance of NullObserver.



7
8
9
# File 'lib/processor/observer/null_observer.rb', line 7

def initialize(options = {})
  @messenger = options.fetch :messenger, Processor::Messenger.new(:info)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



11
# File 'lib/processor/observer/null_observer.rb', line 11

def method_missing(*); end