On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::RescueNode
Represents a rescue statement.
begin rescue Foo, *splat, Bar => ex foo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ end
‘Foo, *splat, Bar` are in the exceptions field. ex is in the exception field.
Class methods 2
Instance methods 11
Attributes
Read
attr_reader consequent: RescueNode?
Read
attr_reader exceptions: Array[Node]
Read
attr_reader keyword_loc: Location
Read
attr_reader operator_loc: Location?
Read
attr_reader statements: StatementsNode?