Module: Base4R::AdditionalXmlAttributeMethods::ClassMethods

Defined in:
lib/attribute.rb

Instance Method Summary collapse

Instance Method Details

#define_xml_attribute(name, value) ⇒ Object



40
41
42
43
# File 'lib/attribute.rb', line 40

def define_xml_attribute(name, value)
  @xml_attributes||={}
  @xml_attributes[name.to_s] = value
end

#xml_attributesObject



45
# File 'lib/attribute.rb', line 45

def xml_attributes; @xml_attributes||={}; end