Class: XMLInstantiatorTest::MyInstantiator

Instance Method Summary collapse

Methods inherited from RGen::Instantiator::DefaultXMLInstantiator

#assoc_p2c, #build_attribute, #build_class, #build_p2c_assoc, #initialize, map_tag_ns, #method_name, #new_object, #on_ascent, #on_descent, #set_attribute, tag_ns_map

Methods included from RGen::Util::NameHelper

#camelize, #className, #firstToLower, #firstToUpper, #normalize, #saneClassName, #saneMethodName

Methods inherited from RGen::Instantiator::NodebasedXMLInstantiator

#end_element, #initialize, #instantiate, #instantiate_file, #namespaces, #on_ascent, #on_chardata, #on_descent, #parse, prune_level, set_prune_level, #start_element

Methods inherited from RGen::Instantiator::AbstractInstantiator

#initialize, resolve, resolve_by_id

Constructor Details

This class inherits a constructor from RGen::Instantiator::DefaultXMLInstantiator

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RGen::Instantiator::AbstractInstantiator

Instance Method Details

#class_name(str) ⇒ Object



31
32
33
# File 'lib/puppet/vendor/rgen/test/xml_instantiator_test.rb', line 31

def class_name(str)
  camelize(str)
end