Class: Expressir::Liquid::DataTypes::ListDrop

Inherits:
Expressir::Liquid::DataTypeDrop show all
Defined in:
lib/expressir/liquid/data_types/list_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

Constructor Details

#initialize(model) ⇒ ListDrop

Returns a new instance of ListDrop.



7
8
9
10
# File 'lib/expressir/liquid/data_types/list_drop.rb', line 7

def initialize(model)
  @model = model
  super
end

Instance Method Details

#base_typeObject



24
25
26
# File 'lib/expressir/liquid/data_types/list_drop.rb', line 24

def base_type
  drop_klass_by_model(@model.base_type)
end

#bound1Object



12
13
14
# File 'lib/expressir/liquid/data_types/list_drop.rb', line 12

def bound1
  drop_klass_by_model(@model.bound1)
end

#bound2Object



16
17
18
# File 'lib/expressir/liquid/data_types/list_drop.rb', line 16

def bound2
  drop_klass_by_model(@model.bound2)
end

#uniqueObject



20
21
22
# File 'lib/expressir/liquid/data_types/list_drop.rb', line 20

def unique
  @model.unique
end