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.
Required Ruby Version
>= 1.9.2
Authors
Maarten Trompper
Versions
-
1.0.3
-
source
- 1.0.3 source June 14, 2015 (10.5 KB)
-
-
1.0.2
-
source
- 1.0.2 source June 14, 2015 (10.5 KB)
-
-
1.0.1
-
source
- 1.0.1 source June 14, 2015 (10.5 KB)
-
-
0.9.0
-
source
- 0.9.0 source June 12, 2015 (9.5 KB)
-