class EdifactConverter::EDI2XML11::PropertiesHandler
Attributes
state[RW]
Public Instance Methods
endSegment(name)
click to toggle source
Calls superclass method
# File lib/edifact_converter/edi2xml11/properties_handler.rb, line 94 def endSegment(name) self.state = nil super end
method_missing(sym, *args, &block)
click to toggle source
# File lib/edifact_converter/edi2xml11/properties_handler.rb, line 76 def method_missing(sym, *args, &block) state.send(sym, *args, &block) if state if next_handler next_handler.send(sym, *args, &block) end end
startSegment(name)
click to toggle source
Calls superclass method
# File lib/edifact_converter/edi2xml11/properties_handler.rb, line 83 def startSegment(name) case name when 'UNB' self.state = UNBHandler.new when 'UNH' self.state = UNHHandler.new end state.locator = locator if state super end