Sha256: e7222ad170c169c4c86e1437403755d2990c53e92a4d98fd43c920eeb7ae2ab9

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 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.4.0 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.3.0 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.2.0 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.1.1 lib/boilerpipe/sax/tag_actions/block_level.rb
boilerpipe-ruby-0.1.0 lib/boilerpipe/sax/tag_actions/block_level.rb