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