Sha256: 5cccfd82e67307027a052826b6216e32d55483e562dd3d344bdf50739ec2ef6d

Contents?: true

Size: 284 Bytes

Versions: 23

Compression:

Stored size: 284 Bytes

Contents

module Hobo::Dryml::Parser

  class Text < REXML::Text

    def parent=(parent)
      # Bypass immediate super
      REXML::Child.instance_method(:parent=).bind(self).call(parent)
      Text.check(@string, /</, nil) if @raw and @parent && Text.respond_to?(:check)
    end

  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
hobo-1.0.3 lib/hobo/dryml/parser/text.rb
hobo-1.0.2 lib/hobo/dryml/parser/text.rb
hobo-1.0.1 lib/hobo/dryml/parser/text.rb
hobo-1.0.0 lib/hobo/dryml/parser/text.rb
hobo-0.9.106 lib/hobo/dryml/parser/text.rb
hobo-0.9.105 lib/hobo/dryml/parser/text.rb
hobo-0.9.104 lib/hobo/dryml/parser/text.rb
hobo-0.9.103 lib/hobo/dryml/parser/text.rb
hobo-0.9.102 lib/hobo/dryml/parser/text.rb
hobo-0.9.101 lib/hobo/dryml/parser/text.rb
hobo-0.9.100 lib/hobo/dryml/parser/text.rb
hobo-0.9.0 lib/hobo/dryml/parser/text.rb
hobo-0.8.10 lib/hobo/dryml/parser/text.rb
hobo-0.8.9 lib/hobo/dryml/parser/text.rb
hobo-0.8.8 lib/hobo/dryml/parser/text.rb
hobo-0.8.4 lib/hobo/dryml/parser/text.rb
hobo-0.8.5 lib/hobo/dryml/parser/text.rb
hobo-0.8.1 lib/hobo/dryml/parser/text.rb
hobo-0.8.2 lib/hobo/dryml/parser/text.rb
hobo-0.8.3 lib/hobo/dryml/parser/text.rb