Skip to Content Skip to Search

EmbDocComment objects correspond to comments that are surrounded by =begin and =end.

Methods
I
T

Instance Public methods

inspect()

Returns a string representation of this comment.

# File ruby/lib/prism/parse_result.rb, line 267
def inspect
  "#<Prism::EmbDocComment @location=#{location.inspect}>"
end

trailing?()

This can only be true for inline comments.

# File ruby/lib/prism/parse_result.rb, line 262
def trailing?
  false
end