method
define_xmlattr_accessor
v1_8_7_72 -
Show latest stable
- Class:
SOAP::Mapping::WSDLLiteralRegistry
define_xmlattr_accessor(obj, qname)private
No documentation available.
# File lib/soap/mapping/wsdlliteralregistry.rb, line 364
def define_xmlattr_accessor(obj, qname)
name = XSD::CodeGen::GenSupport.safemethodname(qname.name)
Mapping.define_attr_accessor(obj, 'xmlattr_' + name,
proc { @__xmlattr[qname] },
proc { |value| @__xmlattr[qname] = value })
end