Module: XSD::ElementContainer

Included in:
All, Choice, Schema, Sequence
Defined in:
lib/xsd/shared/element_container.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#elementsObject

Nested elements



8
9
10
# File 'lib/xsd/shared/element_container.rb', line 8

def self.included(obj)
  obj.child :elements, [:element]
end

Class Method Details

.included(obj) ⇒ Object

Nested elements



8
9
10
# File 'lib/xsd/shared/element_container.rb', line 8

def self.included(obj)
  obj.child :elements, [:element]
end