class Prism::Comment
base class for all comment types.
This represents a comment that was encountered during parsing. It is the
def deconstruct_keys(keys)
def deconstruct_keys(keys) { location: location } end
def initialize(location)
def initialize(location) @location = location end
def slice
def slice location.slice end