Skip to content
On this page

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class · Ruby 4.1

Ruby::Prism::Comment

< Object 2 instance methods 1 class methods

This represents a comment that was encountered during parsing. It is the base class for all comment types.

Class methods 1

Instance methods 2

Attributes
Read

The Location of this comment in the source.