Class: Boilerpipe::SAX::TagActions::BlockLevel

Inherits:
Object
  • Object
show all
Defined in:
lib/boilerpipe/sax/tag_actions/block_level.rb

Overview

Explicitly marks this tag a simple “block-level” element, which always generates whitespace

Instance Method Summary collapse

Instance Method Details

#changes_tag_level?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/boilerpipe/sax/tag_actions/block_level.rb', line 13

def changes_tag_level?
  true
end

#end_tag(handler, name) ⇒ Object



9
10
11
# File 'lib/boilerpipe/sax/tag_actions/block_level.rb', line 9

def end_tag(handler, name)
  true
end

#start(handler, name, attrs) ⇒ Object



5
6
7
# File 'lib/boilerpipe/sax/tag_actions/block_level.rb', line 5

def start(handler, name, attrs)
  true
end