S
Stephane Wirtel
Hi all,
I would like to know if there is a way to simplify this code
object.instance_of? WSDL::XMLSchema::ComplexContent or
object.instance_of? WSDL::XMLSchema::ComplexType or
object.instance_of? WSDL::XMLSchema::SimpleType or
object.instance_of? WSDL::XMLSchema::SimpleRestriction or
object.instance_of? WSDL::XMLSchema::Element or
object.instance_of? WSDL::XMLSchema::Sequence or
object.instance_of? XSD::QName or
object.instance_of? WSDL::Message or
object.instance_of? WSDL:art or
object.instance_of? WSDL::Service or
object.instance_of? WSDL:ort or
object.instance_of? WSDL::SOAP::Address or
object.instance_of? WSDL::Binding or
object.instance_of? WSDL::SOAP::Binding or
object.instance_of? WSDL::OperationBinding or
object.instance_of? WSDL::SOAP::Operation or
object.instance_of? WSDL:aram or
object.instance_of? WSDL::SOAP::Body or
object.instance_of? WSDL:ortType or
object.instance_of? WSDL::Operation or
object.instance_of? WSDL::SOAP::Attribute
?
Thanks
I would like to know if there is a way to simplify this code
object.instance_of? WSDL::XMLSchema::ComplexContent or
object.instance_of? WSDL::XMLSchema::ComplexType or
object.instance_of? WSDL::XMLSchema::SimpleType or
object.instance_of? WSDL::XMLSchema::SimpleRestriction or
object.instance_of? WSDL::XMLSchema::Element or
object.instance_of? WSDL::XMLSchema::Sequence or
object.instance_of? XSD::QName or
object.instance_of? WSDL::Message or
object.instance_of? WSDL:art or
object.instance_of? WSDL::Service or
object.instance_of? WSDL:ort or
object.instance_of? WSDL::SOAP::Address or
object.instance_of? WSDL::Binding or
object.instance_of? WSDL::SOAP::Binding or
object.instance_of? WSDL::OperationBinding or
object.instance_of? WSDL::SOAP::Operation or
object.instance_of? WSDL:aram or
object.instance_of? WSDL::SOAP::Body or
object.instance_of? WSDL:ortType or
object.instance_of? WSDL::Operation or
object.instance_of? WSDL::SOAP::Attribute
?
Thanks