class Prism::EmbDocComment - Documentation for Ruby 3.3

# class Prism::EmbDocComment

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

### Public Instance Methods

inspect() click to toggle source

Returns a string representation of this comment.

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

trailing?() click to toggle source

This can only be true for inline comments.

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