Class: Twig::Node::Expression::HelperMethod
- Defined in:
- lib/twig/node/expression/helper_method.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #lineno, #nodes, #source_context, #tag
Instance Method Summary collapse
-
#initialize(name, arguments, lineno) ⇒ HelperMethod
constructor
A new instance of HelperMethod.
Methods inherited from Call
Methods inherited from Base
#explicit_parentheses?, #set_explicit_parentheses
Methods inherited from Base
#compile, #empty?, #length, #template_name, #to_s
Constructor Details
#initialize(name, arguments, lineno) ⇒ HelperMethod
Returns a new instance of HelperMethod.
7 8 9 |
# File 'lib/twig/node/expression/helper_method.rb', line 7 def initialize(name, arguments, lineno) super({ arguments: }, { name: }, lineno) end |