Class: Shale::Schema::XMLGenerator::RefElement Private
- Defined in:
- lib/shale/schema/xml_generator/ref_element.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class representing XML Schema <element ref=“”> element with a reference
Instance Method Summary collapse
-
#initialize(ref:, default: nil, collection: false, required: false) ⇒ RefElement
constructor
private
Initialize RefElement object.
Methods inherited from Element
Constructor Details
#initialize(ref:, default: nil, collection: false, required: false) ⇒ RefElement
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize RefElement object
21 22 23 24 |
# File 'lib/shale/schema/xml_generator/ref_element.rb', line 21 def initialize(ref:, default: nil, collection: false, required: false) super(default, collection, required) @ref = ref end |