Class: Expressir::Liquid::DataTypes::ArrayDrop
- Inherits:
-
Expressir::Liquid::DataTypeDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::DataTypeDrop
- Expressir::Liquid::DataTypes::ArrayDrop
- Defined in:
- lib/expressir/liquid/data_types/array_drop.rb
Instance Method Summary collapse
- #base_type ⇒ Object
- #bound1 ⇒ Object
- #bound2 ⇒ Object
-
#initialize(model) ⇒ ArrayDrop
constructor
A new instance of ArrayDrop.
- #optional ⇒ Object
- #unique ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ ArrayDrop
Returns a new instance of ArrayDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#base_type ⇒ Object
28 29 30 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 28 def base_type drop_klass_by_model(@model.base_type) end |
#bound1 ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 12 def bound1 drop_klass_by_model(@model.bound1) end |
#bound2 ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 16 def bound2 drop_klass_by_model(@model.bound2) end |
#optional ⇒ Object
20 21 22 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 20 def optional @model.optional end |
#unique ⇒ Object
24 25 26 |
# File 'lib/expressir/liquid/data_types/array_drop.rb', line 24 def unique @model.unique end |