123456789_123456789_123456789_123456789_123456789_

Class: Prism::RescueNode

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Node
Instance Chain:
self, Node
Inherits: Prism::Node
Defined in: lib/prism/node_ext.rb

Instance Attribute Summary

Node - Inherited

Instance Method Summary

  • #consequent

    Returns the subsequent rescue clause of the rescue node.

Node - Inherited

Instance Method Details

#consequent

Returns the subsequent rescue clause of the rescue node. This method is deprecated in favor of #subsequent.

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 494

def consequent
  deprecated("subsequent")
  subsequent
end