class EdifactConverter::EmptyHandler

Attributes

locator[RW]
next_handler[RW]

Public Class Methods

new(nexthandler = nil) click to toggle source
# File lib/edifact_converter/empty_handler.rb, line 7
def initialize(nexthandler = nil)
        self.next_handler = nexthandler
end

Public Instance Methods

locator=(locator) click to toggle source
# File lib/edifact_converter/empty_handler.rb, line 17
def locator=(locator)
        @locator = locator
        next_handler.locator = locator if next_handler
end
method_missing(sym, *args, &block) click to toggle source
# File lib/edifact_converter/empty_handler.rb, line 11
def method_missing(sym, *args, &block)
        if self.next_handler
                self.next_handler.send(sym, *args, &block)
        end
end