Class: Melbourne::AST::RescueSplat

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

Overview

TODO: document!

Instance Attribute Summary collapse

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Node

#ascii_graph

Constructor Details

#initialize(line, value) ⇒ RescueSplat

Returns a new instance of RescueSplat.



173
174
175
176
# File 'lib/melbourne/ast/exceptions.rb', line 173

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

Instance Attribute Details

#valueObject

Returns the value of attribute value.



171
172
173
# File 'lib/melbourne/ast/exceptions.rb', line 171

def value
  @value
end