class Boilerpipe::SAX::TagActions::Chained
Public Class Methods
new(t1, t2)
click to toggle source
# File lib/boilerpipe/sax/tag_actions/chained.rb, line 3 def initialize(t1, t2) @t1 = t1 @t2 = t2 end
Public Instance Methods
changes_tag_level?()
click to toggle source
# File lib/boilerpipe/sax/tag_actions/chained.rb, line 16 def changes_tag_level? @t1.changes_tag_level? || @t2.changes_tag_level? end
end_tag(handler, name)
click to toggle source
# File lib/boilerpipe/sax/tag_actions/chained.rb, line 12 def end_tag(handler, name) @t1.end_tag(handler, name) | @t2.end_tag(handler, name) end
start(handler, name, attrs)
click to toggle source
# File lib/boilerpipe/sax/tag_actions/chained.rb, line 8 def start(handler, name, attrs) @t1.start(handler, name, attrs) | @t2.start(handler, name, attrs) end