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.
20 21 22 23 |
# File 'lib/wsdl/xmlSchema/union.rb', line 20 def initialize super @member_types = nil end |
Instance Attribute Details
#member_types ⇒ Object (readonly)
Returns the value of attribute member_types.
18 19 20 |
# File 'lib/wsdl/xmlSchema/union.rb', line 18 def member_types @member_types end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/wsdl/xmlSchema/union.rb', line 25 def parse_attr(attr, value) case attr when MemberTypesAttrName @member_types = value.source end end |