Class: L2meter::NullObject

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

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



8
9
10
# File 'lib/l2meter/null_object.rb', line 8

def method_missing(*)
  yield if block_given?
end

Instance Method Details

#logObject

Silence forwardable stdlib warnings about forwarding private metods.



4
5
6
# File 'lib/l2meter/null_object.rb', line 4

def log(*)
  super
end