Skip to content
On this page

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Prism::BreakNode

< Prism::Node 13 instance methods 2 class methods

Represents the use of the break keyword.

break foo
^^^^^^^^^

Class methods 2

Instance methods 13

Attributes
Read

The arguments to the break statement, if present. These can be any [non-void expressions](github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).

break foo
      ^^^