Class: NMEA::HandlerFilter

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

Direct Known Subclasses

SmoothingFilter

Instance Method Summary collapse

Constructor Details

#initialize(handler) ⇒ HandlerFilter

Returns a new instance of HandlerFilter.



12
13
14
# File 'lib/nmea.rb', line 12

def initialize(handler)
  @handler = handler
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args) ⇒ Object



15
16
17
# File 'lib/nmea.rb', line 15

def method_missing(method_name, *args)
  @handler.send(method_name, *args)
end