Skip to content
class method

Prism::Comment.new

new(location)

Create a new comment object with the given location.

See also #deconstruct_keys #slice also in 3.4 · 3.3