Class: Nokogiri::XML::ElementContent
- Inherits:
-
Object
- Object
- Nokogiri::XML::ElementContent
- Defined in:
- lib/xml/to/json.rb
Instance Method Summary collapse
Instance Method Details
#to_json(*a) ⇒ Object
27 28 29 |
# File 'lib/xml/to/json.rb', line 27 def to_json(*a) to_hash.to_json(*a) end |