On this page
class · Ruby 4.0
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 24
#===
#accept
#child_nodes
#closing
#closing_loc
#comment_targets
#compact_child_nodes
#content
#content_loc
#copy
#deconstruct
#deconstruct_keys
#forced_binary_encoding?
#forced_utf8_encoding?
#frozen?
#inspect
#mutable?
#opening
#opening_loc
#save_closing_loc
#save_content_loc
#save_opening_loc
#to_interpolated
#type
Attributes