Class: Peanuts::Mappings::Root

Inherits:
Peanuts::Mapping show all
Defined in:
lib/peanuts/mappings.rb

Instance Attribute Summary

Attributes inherited from Peanuts::Mapping

#options, #prefix, #xmlname, #xmlns

Instance Method Summary collapse

Methods inherited from Peanuts::Mapping

#initialize, #node_type, node_type

Constructor Details

This class inherits a constructor from Peanuts::Mapping

Instance Method Details

#save(writer, &block) ⇒ Object



28
29
30
# File 'lib/peanuts/mappings.rb', line 28

def save(writer, &block)
  writer.write(node_type, xmlname, xmlns, prefix, &block)
end