class Prism::EmbDocComment
EmbDocComment objects correspond to comments that are surrounded by =begin and =end.
Public Instance Methods
Source
# File lib/prism/parse_result.rb, line 551
def inspect
"#<Prism::EmbDocComment @location=#{location.inspect}>"
end Returns a string representation of this comment.
Source
# File lib/prism/parse_result.rb, line 546 def trailing? false end
This can only be true for inline comments.
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.