method
define_attr_accessor
v1_8_7_72 -
Show latest stable
- Class:
SOAP::Mapping
define_attr_accessor(obj, name, getterproc, setterproc = nil)public
No documentation available.
# File lib/soap/mapping/mapping.rb, line 313
def self.define_attr_accessor(obj, name, getterproc, setterproc = nil)
define_singleton_method(obj, name, &getterproc)
define_singleton_method(obj, name + '=', &setterproc) if setterproc
end