Class: Definition::Types::Include
- Defined in:
- lib/definition/types/include.rb
Defined Under Namespace
Classes: Conformer
Instance Attribute Summary collapse
-
#required_items ⇒ Object
Returns the value of attribute required_items.
Attributes inherited from Base
Instance Method Summary collapse
- #conform(value) ⇒ Object
-
#initialize(name, *args) ⇒ Include
constructor
A new instance of Include.
Methods inherited from Base
Constructor Details
#initialize(name, *args) ⇒ Include
Returns a new instance of Include.
11 12 13 14 |
# File 'lib/definition/types/include.rb', line 11 def initialize(name, *args) self.required_items = *args super(name) end |
Instance Attribute Details
#required_items ⇒ Object
Returns the value of attribute required_items.
9 10 11 |
# File 'lib/definition/types/include.rb', line 9 def required_items @required_items end |