Class: WSDL::XMLSchema::Union
Instance Attribute Summary collapse
-
#member_types ⇒ Object
readonly
Returns the value of attribute member_types.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ Union
constructor
A new instance of Union.
- #parse_attr(attr, value) ⇒ Object
Methods inherited from Info
#inspect, #parse_element, #parse_epilogue
Constructor Details
#initialize ⇒ Union
Returns a new instance of Union.
21 22 23 24 |
# File 'lib/wsdl/xmlSchema/union.rb', line 21 def initialize super @member_types = nil end |
Instance Attribute Details
#member_types ⇒ Object (readonly)
Returns the value of attribute member_types.
19 20 21 |
# File 'lib/wsdl/xmlSchema/union.rb', line 19 def member_types @member_types end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/wsdl/xmlSchema/union.rb', line 26 def parse_attr(attr, value) case attr when MemberTypesAttrName @member_types = value.source end end |