Class: Melbourne::AST::EmptySplat

Inherits:
Node
  • Object
show all
Defined in:
lib/melbourne/ast/variables.rb

Overview

An empty splat as in:

* = 1, 2

Instance Attribute Summary

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Node

#ascii_graph

Constructor Details

#initialize(line, size) ⇒ EmptySplat

Returns a new instance of EmptySplat.



139
140
141
142
# File 'lib/melbourne/ast/variables.rb', line 139

def initialize(line, size)
  @line = line
  @size = size
end