Class: Sablon::Statement::Comment
- Inherits:
-
Struct
- Object
- Struct
- Sablon::Statement::Comment
- Defined in:
- lib/sablon/operations.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
48 49 50 |
# File 'lib/sablon/operations.rb', line 48 def block @block end |
Instance Method Details
#evaluate(context) ⇒ Object
49 50 51 |
# File 'lib/sablon/operations.rb', line 49 def evaluate(context) block.replace [] end |