On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::StringNode
Represents a string literal, a string contained within a ‘%w` list, or plain string content within an interpolated string.
"foo"
^^^^^
%w[foo]
^^^
"foo #{bar} baz"
^^^^ ^^^^
Class methods 2
Instance methods 15
Attributes
Read
attr_reader closing_loc: Location?
Read
attr_reader content_loc: Location
Read
attr_reader opening_loc: Location?