Sha256: 203253bce54e15c40935e17752372941d9502ae003bdb6667709adb6b96e383d

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

module Boilerpipe::SAX::TagActions
  # Explicitly marks this tag a simple "block-level" element,
  # which always generates whitespace
  class BlockLevel
    def start(handler, name, attrs)
      true
    end

    def end_tag(handler, name)
      true
    end

    def changes_tag_level?
      true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boilerpipe-ruby-0.5.0 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.4.4 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.4.3 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.4.2 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.4.1 lib/boilerpipe/sax/tag_actions/block_level.rb