Module: SOAP::SOAPModuleUtils

Overview

Mix-in module for SOAP base type classes.

Constant Summary

Constants included from SOAP

SOAPGenerator

Instance Method Summary collapse

Instance Method Details

#decode(elename) ⇒ Object



26
27
28
29
30
# File 'lib/soap4r_19_patch/soap/baseData.rb', line 26

def decode(elename)
  d = self.new
  d.elename = elename
  d
end

#to_data(str) ⇒ Object



32
33
34
# File 'lib/soap4r_19_patch/soap/baseData.rb', line 32

def to_data(str)
  new(str).data
end