method
add_accessor
v1_8_7_330 -
Show latest stable
-
0 notes -
Class: SOAP::SOAPElement
- 1_8_6_287 (0)
- 1_8_7_72 (0)
- 1_8_7_330 (0)
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- What's this?
add_accessor(name)
private
Hide source
# File lib/soap/baseData.rb, line 674 def add_accessor(name) methodname = safe_accessor_name(name) instance_eval "def \#{methodname}\n@data[@array.index(\#{name.dump})]\nend\n\ndef \#{methodname}=(value)\n@data[@array.index(\#{name.dump})] = value\nend\n" end


