Class: Ox::Element
- Inherits:
-
Object
- Object
- Ox::Element
- Defined in:
- lib/dagger/ox_extension.rb
Instance Method Summary collapse
Instance Method Details
#to_node ⇒ Object
99 100 101 102 |
# File 'lib/dagger/ox_extension.rb', line 99 def to_node children = nodes.map { |n| n.class == self.class ? n.to_node : nil }.compact XMLNode.new(value, text, attributes, children) end |