Skip to content
class method

Prism::MagicComment.new

new(key_loc, value_loc)

Create a new magic comment object with the given key and value locations.

See also #deconstruct_keys #inspect also in 3.4 · 3.3