RubyGems Navigation menu

xml-to-hash 1.0.3

This gem adds a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants. This gem also picks up attributes, processing instructions and doctype declarations. The resulting Hash is wordy, but complete. As an added bonus, we include line numbers where possible.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.3 - June 14, 2015 (10.5 KB)
  2. 1.0.2 - June 14, 2015 (10.5 KB)
  3. 1.0.1 - June 14, 2015 (10.5 KB)
  4. 0.9.0 - June 12, 2015 (9.5 KB)
Show all versions (5 total)

Runtime Dependencies (1):

nokogiri >= 1.6, ~> 1

Development Dependencies (3):

bundler ~> 1.10
rake ~> 10.0
rspec ~> 2.4

Owners:

Authors:

  • Maarten Trompper

SHA 256 checksum:

a217f7557693cf155648f6a51650be4de201f9ad050a67629c35f29fe4f9e512

Total downloads 64,713

For this version 58,422

License:

MIT

Required Ruby Version: >= 1.9.2

Links: