RubyGems Navigation menu

xml-to-hash 1.0.1

This gem add 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:

dc1ff04b41b140778d12ba66b4b3eb817de540787c3cf1a6a29d2aef13616979

Total downloads 65,112

For this version 2,104

License:

MIT

Required Ruby Version: >= 0

Links: