Skip to content

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

instance method

Prism::StringNode#to_interpolated

to_interpolated

Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.