Module: Enumerable

Included in:
SOAP::Property, SOAP::SOAPArray, SOAP::SOAPElement, SOAP::SOAPStruct, XSD::NamedElements
Defined in:
lib/action_web_service/soap/property.rb

Instance Method Summary collapse

Instance Method Details

#inject(init) ⇒ Object



325
326
327
328
329
330
331
# File 'lib/action_web_service/soap/property.rb', line 325

def inject(init)
  result = init
  each do |item|
	result = yield(result, item)
  end
  result
end