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.
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.