Class: Twig::Node::Expression::Binary::Or
- Inherits:
-
Boolean
- Object
- Base
- Twig::Node::Expression::Base
- Base
- Boolean
- Twig::Node::Expression::Binary::Or
- Defined in:
- lib/twig/node/expression/binary/or.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #lineno, #nodes, #source_context, #tag
Instance Method Summary collapse
Methods inherited from Boolean
Methods inherited from Base
Methods inherited from Twig::Node::Expression::Base
#explicit_parentheses?, #set_explicit_parentheses
Methods inherited from Base
#compile, #empty?, #initialize, #length, #template_name, #to_s
Constructor Details
This class inherits a constructor from Twig::Node::Expression::Binary::Base
Instance Method Details
#operator(compiler) ⇒ Object
8 9 10 |
# File 'lib/twig/node/expression/binary/or.rb', line 8 def operator(compiler) compiler.raw('||') end |