Class: Red::CallNode::MethodNode::ExplicitNode
- Inherits:
-
Red::CallNode::MethodNode
- Object
- Red::CallNode::MethodNode
- Red::CallNode::MethodNode::ExplicitNode
- Defined in:
- lib/red/call_nodes.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(receiver, function, arguments = [nil]) ⇒ ExplicitNode
constructor
A new instance of ExplicitNode.
Methods inherited from Red::CallNode::MethodNode
Constructor Details
#initialize(receiver, function, arguments = [nil]) ⇒ ExplicitNode
Returns a new instance of ExplicitNode.
70 71 72 73 |
# File 'lib/red/call_nodes.rb', line 70 def initialize(receiver, function, arguments = [nil]) @receiver, @function = [receiver, function].build_nodes @arguments = arguments[1..-1].build_nodes end |