Class: Expressir::Liquid::DataTypes::BinaryDrop
- Inherits:
-
Expressir::Liquid::DataTypeDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::DataTypeDrop
- Expressir::Liquid::DataTypes::BinaryDrop
- Defined in:
- lib/expressir/liquid/data_types/binary_drop.rb
Instance Method Summary collapse
- #fixed ⇒ Object
-
#initialize(model) ⇒ BinaryDrop
constructor
A new instance of BinaryDrop.
- #width ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ BinaryDrop
Returns a new instance of BinaryDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/data_types/binary_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#fixed ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/data_types/binary_drop.rb', line 16 def fixed @model.fixed end |
#width ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/data_types/binary_drop.rb', line 12 def width drop_klass_by_model(@model.width) end |