Sha256: 49adb1f4c22432cf5846130cfadfaa4b115927f276b77a66cec481bdd4ccc480

Contents?: true

Size: 498 Bytes

Versions: 13

Compression:

Stored size: 498 Bytes

Contents

require 'xmlhasher/configurable'
require 'xmlhasher/handler'
require 'xmlhasher/parser'
require 'xmlhasher/node'
require 'xmlhasher/util'
require 'xmlhasher/version'

module XmlHasher
  class << self
    include XmlHasher::Configurable

    def parser
      @parser ||= XmlHasher::Parser.new(options)
    end

    private

    def method_missing(method_name, *args, &block)
      return super unless parser.respond_to?(method_name)
      parser.send(method_name, *args, &block)
    end

  end

end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
xmlhasher_with_attributes-1.0.1 lib/xmlhasher_with_attributes.rb
xmlhasher_with_attributes-1.0.0 lib/xmlhasher.rb
xmlhasher-1.0.4 lib/xmlhasher.rb
xmlhasher-1.0.3 lib/xmlhasher.rb
xmlhasher-1.0.2 lib/xmlhasher.rb
xmlhasher-1.0.1 lib/xmlhasher.rb
xmlhasher-1.0.0 lib/xmlhasher.rb
xmlhasher-0.0.6 lib/xmlhasher.rb
xmlhasher-0.0.5 lib/xmlhasher.rb
xmlhasher-0.0.4 lib/xmlhasher.rb
xmlhasher-0.0.3 lib/xmlhasher.rb
xmlhasher-0.0.2 lib/xmlhasher.rb
xmlhasher-0.0.1 lib/xmlhasher.rb