class Prism::ParseResult::Comments::NodeTarget

def encloses?(comment)

def encloses?(comment)
  start_offset <= comment.location.start_offset &&
    comment.location.end_offset <= end_offset
end