Class: Shale::Schema::XMLGenerator::RefAttribute Private
- Defined in:
- lib/shale/schema/xml_generator/ref_attribute.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 <attribute ref=“”> element with a reference
Instance Method Summary collapse
-
#initialize(ref:, default: nil) ⇒ RefAttribute
constructor
private
Initialize RefAttribute object.
Methods inherited from Attribute
Constructor Details
#initialize(ref:, default: nil) ⇒ RefAttribute
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 RefAttribute object
19 20 21 22 |
# File 'lib/shale/schema/xml_generator/ref_attribute.rb', line 19 def initialize(ref:, default: nil) super(default) @ref = ref end |