class Ruby::Prism::Relocation::CommentsField::Comment

An object that represents a slice of a comment.

Attributes

The slice of the comment.

Public Class Methods

Initialize a new comment with the given slice.

: (String slice) -> void

# File lib/ruby/prism/relocation.rb, line 440
def initialize(slice)
  @slice = slice
end