Sha256: d9513b4b9dfb840df27ca9874f5acb81e9da8bbb6781ab609895a5bae4cfe0ef

Contents?: true

Size: 964 Bytes

Versions: 10

Compression:

Stored size: 964 Bytes

Contents

module LibXML
  module XML
    class HTMLParser
      def self.file(value)
        parser = self.new
        parser.input.file = value
        parser
      end

      def self.string(value)
        parser = self.new
        parser.input.string = value
        parser
      end

      def self.document(value)
        parser = self.new
        parser.input.document = value
        parser
      end

      def self.io(value)
        parser = self.new
        parser.input.io = value
        parser
      end

      def file
        input.file
      end

      def file=(value)
        input.file = value
      end

      def string
        input.string
      end

      def string=(value)
        input.string = value
      end

      def document
        input.document
      end

      def document=(value)
        input.document = value
      end

      def io
        input.io
      end

      def io=(value)
        input.io = value
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
libxml-ruby-0.9.3-x86-mswin32-60 lib/libxml/html_parser.rb
libxml-ruby-0.9.3 lib/libxml/html_parser.rb
libxml-ruby-0.9.4 lib/libxml/html_parser.rb
libxml-ruby-0.9.4-x86-mswin32-60 lib/libxml/html_parser.rb
libxml-ruby-0.9.5 lib/libxml/html_parser.rb
libxml-ruby-0.9.5-x86-mswin32-60 lib/libxml/html_parser.rb
libxml-ruby-0.9.6-x86-mswin32-60 lib/libxml/html_parser.rb
libxml-ruby-0.9.6 lib/libxml/html_parser.rb
libxml-ruby-0.9.7 lib/libxml/html_parser.rb
libxml-ruby-0.9.7-x86-mswin32-60 lib/libxml/html_parser.rb