Skip to content
On this page

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

class · Ruby 3.3

Prism::RangeNode

< Prism::Node 11 instance methods 2 class methods

Represents the use of the .. or ... operators.

1..2
^^^^

c if a =~ /left/ ... b =~ /right/
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 11

Attributes
Read

attr_reader left: Node?

attr_reader operator_loc: Location

Read

attr_reader right: Node?