Class: Expressir::Liquid::Literals::StringDrop
- Inherits:
-
Expressir::Liquid::LiteralDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::LiteralDrop
- Expressir::Liquid::Literals::StringDrop
- Defined in:
- lib/expressir/liquid/literals/string_drop.rb
Instance Method Summary collapse
- #encoded ⇒ Object
-
#initialize(model) ⇒ StringDrop
constructor
A new instance of StringDrop.
- #value ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ StringDrop
Returns a new instance of StringDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/literals/string_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#encoded ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/literals/string_drop.rb', line 16 def encoded @model.encoded end |
#value ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/literals/string_drop.rb', line 12 def value @model.value end |