instance method
Prism::MagicComment#value
value
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 581
def value
value_loc.slice
end
Returns the value of the magic comment by slicing it from the source code.