Class: ActionviewPrecompiler::PrismASTParser::RenderCall
- Inherits:
-
Object
- Object
- ActionviewPrecompiler::PrismASTParser::RenderCall
- Defined in:
- lib/actionview_precompiler/ast_parser/prism.rb
Overview
Each call object is responsible for holding a list of arguments and should respond to a single #arguments_node method that returns an array of arguments.
Instance Attribute Summary collapse
-
#argument_nodes ⇒ Object
readonly
Returns the value of attribute argument_nodes.
Instance Method Summary collapse
-
#initialize(argument_nodes) ⇒ RenderCall
constructor
A new instance of RenderCall.
Constructor Details
#initialize(argument_nodes) ⇒ RenderCall
Returns a new instance of RenderCall.
17 18 19 |
# File 'lib/actionview_precompiler/ast_parser/prism.rb', line 17 def initialize(argument_nodes) @argument_nodes = argument_nodes end |
Instance Attribute Details
#argument_nodes ⇒ Object (readonly)
Returns the value of attribute argument_nodes.
15 16 17 |
# File 'lib/actionview_precompiler/ast_parser/prism.rb', line 15 def argument_nodes @argument_nodes end |