class EdifactConverter::DebugHandler
Public Instance Methods
endDocument()
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 13 def endDocument p @level #@level -= 1 #print 'Edifact' super end
endSegment(name)
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 38 def endSegment(name) #@level -= 1 super end
endSegmentGroup(name)
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 26 def endSegmentGroup(name) print "End Group #{name}" @level -= 1 super end
print(name)
click to toggle source
# File lib/edifact_converter/debug_handler.rb, line 43 def print(name) text = " #{@level} - #{name}" puts text end
startDocument()
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 7 def startDocument @level = 1 print 'Edifact' super end
startSegment(name, position = nil)
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 32 def startSegment(name, position = nil) print "#{name} #{position}" #@level += 1 super end
startSegmentGroup(name, position = nil, hidden = false)
click to toggle source
Calls superclass method
# File lib/edifact_converter/debug_handler.rb, line 20 def startSegmentGroup(name, position = nil, hidden = false) @level += 1 print "Start Group #{name} #{position}" super end