module RuboCop::Ext::ProcessedSource
Extensions to AST::ProcessedSource for our cached comment_config
Attributes
Public Instance Methods
Source
# File lib/rubocop/ext/processed_source.rb, line 9 def comment_config @comment_config ||= CommentConfig.new(self) end
Source
# File lib/rubocop/ext/processed_source.rb, line 13 def disabled_line_ranges comment_config.cop_disabled_line_ranges end