Class: Peanuts::Mappings::Root

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

Instance Attribute Summary

Attributes inherited from Peanuts::Mapping

#local_name, #namespace_uri, #options, #prefix

Instance Method Summary collapse

Methods inherited from Peanuts::Mapping

#initialize, #matches?, node_type

Constructor Details

This class inherits a constructor from Peanuts::Mapping

Instance Method Details

#write(writer, &block) ⇒ Object



30
31
32
# File 'lib/peanuts/mappings.rb', line 30

def write(writer, &block)
  writer.write(node_type, local_name, namespace_uri, prefix, &block)
end