On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::UnlessNode
Represents the use of the unless keyword, either in the block form or the modifier form.
bar unless foo ^^^^^^^^^^^^^^ unless foo then bar end ^^^^^^^^^^^^^^^^^^^^^^^
Class methods 2
Instance methods 12
Attributes
Read
attr_reader consequent: ElseNode?
Read
attr_reader end_keyword_loc: Location?
Read
attr_reader keyword_loc: Location
Read
attr_reader statements: StatementsNode?
Read
attr_reader then_keyword_loc: Location?