An object that represents a slice of a comment.
Attributes
Read
The slice of the comment.
Class Methods
::
lib/prism/relocation.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/prism/relocation.rb, line 321
def initialize(slice)
@slice = slice
end
Initialize a new comment with the given slice.