instance method
Prism::DSL#interpolated_string_node_flag
interpolated_string_node_flag(name)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/dsl.rb, line 886
def interpolated_string_node_flag(name)
case name
when :frozen then InterpolatedStringNodeFlags::FROZEN
when :mutable then InterpolatedStringNodeFlags::MUTABLE
else Kernel.raise ArgumentError, "invalid InterpolatedStringNodeFlags flag: #{name.inspect}"
end
end
Retrieve the value of one of the InterpolatedStringNodeFlags flags.