class Prism::EmbDocComment
EmbDocComment objects correspond to comments that are surrounded by =begin and =end.
EmbDocComment objects correspond to comments that are surrounded by =begin and =end.
Public Instance Methods
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/sig/generated/prism/parse_result.rbs, line 544
def inspect: () -> String
Returns a string representation of this comment.
: () -> String
() → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/parse_result.rb, line 773 def trailing? false end
Returns false. This can only be true for inline comments.
Returns false. This can only be true for inline comments.
: () -> bool