class Prism::Relocation::CommentsField::Comment
An object that represents a slice of a comment.
Attributes
The slice of the comment.
Public Class Methods
Source
# File lib/prism/relocation.rb, line 321 def initialize(slice) @slice = slice end
Initialize a new comment with the given slice.