Module: XSD::AttributeContainer

Included in:
AttributeGroup, ComplexType, Extension, Restriction, Schema
Defined in:
lib/xsd/shared/attribute_container.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attribute_groupsObject

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

#attributesObject

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