Module: XSD::AttributeContainer
- Included in:
- AttributeGroup, ComplexType, Extension, Restriction, Schema
- Defined in:
- lib/xsd/shared/attribute_container.rb
Instance Attribute Summary collapse
-
#attribute_groups ⇒ Object
Nested attribute groups.
-
#attributes ⇒ Object
Nested attributes.
Class Method Summary collapse
-
.included(obj) ⇒ Object
Nested attribute groups.
Instance Attribute Details
#attribute_groups ⇒ Object
Nested attribute groups
12 13 14 15 |
# File 'lib/xsd/shared/attribute_container.rb', line 12 def self.included(obj) obj.child :attributes, [:attribute] obj.child :attribute_groups, [:attributeGroup] end |
#attributes ⇒ Object
Nested attributes
|
# File 'lib/xsd/shared/attribute_container.rb', line 5
|
Class Method Details
.included(obj) ⇒ Object
Nested attribute groups
12 13 14 15 |
# File 'lib/xsd/shared/attribute_container.rb', line 12 def self.included(obj) obj.child :attributes, [:attribute] obj.child :attribute_groups, [:attributeGroup] end |