Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Prism::InlineComment

< Prism::Comment 2 instance methods

InlineComment objects are the most common. They correspond to comments in the source file like this one that start with #.

Instance methods 2