Class: Serf::Util::NullObject

Inherits:
Object
  • Object
show all
Defined in:
lib/serf/util/null_object.rb

Overview

A simple NullOject pattern implementation for some Serf code that assumes the existence of a logger.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



9
10
11
# File 'lib/serf/util/null_object.rb', line 9

def method_missing(*args, &block)
  self
end