Sha256: ed1856ed970f1ac360f4bfa825a24fae93ab0e5eb3a5d6f9848d48158cad6dac

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

module XML
  module Smart
    class Dom

      class Other < Text
        def otype
          case @node
            when Nokogiri::XML::Comment; :comment
            else; :unknown
          end
        end
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
xml-smart-0.5.3 lib/xml/smart_domother.rb
xml-smart-0.5.2 lib/xml/smart_domother.rb
xml-smart-0.5.1 lib/xml/smart_domother.rb
xml-smart-0.5.0 lib/xml/smart_domother.rb
xml-smart-0.4.4 lib/xml/smart_domother.rb
xml-smart-0.4.3 lib/xml/smart_domother.rb