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::InterpolatedRegularExpressionNode

< Prism::Node 22 instance methods 2 class methods

Represents a regular expression literal that contains interpolation.

/foo #{bar} baz/
^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 22

Attributes

attr_reader closing_loc: Location

attr_reader opening_loc: Location

Read

attr_reader parts: Array[Node]