Class: ActionviewPrecompiler::PrismASTParser::RenderCall

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nodesObject (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