Method: SyntaxTree::Rescue#initialize
- Defined in:
- lib/syntax_tree/node.rb
#initialize(keyword:, exception:, statements:, consequent:, location:) ⇒ Rescue
Returns a new instance of Rescue.
9285 9286 9287 9288 9289 9290 9291 9292 |
# File 'lib/syntax_tree/node.rb', line 9285 def initialize(keyword:, exception:, statements:, consequent:, location:) @keyword = keyword @exception = exception @statements = statements @consequent = consequent @location = location @comments = [] end |