Class
EmbDocComment
objects correspond to comments that are surrounded by =begin and =end.
Instance Methods
#
lib/prism/parse_result.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/prism/parse_result.rb, line 419
def inspect
"#<Prism::EmbDocComment @location=#{location.inspect}>"
end
Returns a string representation of this comment.
lib/prism/parse_result.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/prism/parse_result.rb, line 414
def trailing?
false
end
This can only be true for inline comments.