| Class | SOAP::Mapping::DateTimeFactory_ |
| In: |
soap/mapping/factory.rb
|
| Parent: | Factory |
# File soap/mapping/factory.rb, line 144 def initialize(allow_original_mapping = false) super() @allow_original_mapping = allow_original_mapping end
# File soap/mapping/factory.rb, line 149 def obj2soap(soap_class, obj, info, map) if !@allow_original_mapping and Time === obj and !obj.instance_variables.empty? return nil end soap_obj = nil begin soap_obj = soap_class.new(obj) rescue XSD::ValueSpaceError return nil end mark_marshalled_obj(obj, soap_obj) soap_obj end
ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.