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