Sha256: 4a2dfcd01d4725833a73de770e6635bf341c0fa4e664888a1adda46978312af6

Contents?: true

Size: 156 Bytes

Versions: 11

Compression:

Stored size: 156 Bytes

Contents

require 'nori'


module NicoAPI
  module HashMapper
    def map_to_hash(xml)
      (Nori.new).parse xml
    end

    module_function :map_to_hash
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
nicoapi-0.0.6.1 lib/nicoapi/hash_mapper.rb
nicoapi-0.0.6 lib/nicoapi/hash_mapper.rb
nicoquery-core-0.0.5 lib/nicoquery/core/hash_mapper.rb
nicoapi-core-0.0.4.2 lib/nicoapi/core/hash_mapper.rb
nicoapi-0.0.4.1 lib/nicoapi/hash_mapper.rb
nicoapi-core-0.0.3.2 lib/nicoapi/core/hash_mapper.rb
nicoapi-core-0.0.3.1 lib/nicoapi/core/hash_mapper.rb
nicoapi-core-0.0.3 lib/nicoapi/core/hash_mapper.rb
nicoapi-core-0.0.2 lib/nicoapi/core/hash_mapper.rb
nicoapi-core-0.0.1 lib/nicoapi/core/hash_mapper.rb
nicoapi-0.0.1 lib/nicoapi/hash_mapper.rb