lib/rubocop/comment_config.rb in rubocop-1.46.0 vs lib/rubocop/comment_config.rb in rubocop-1.47.0
- old
+ new
@@ -9,9 +9,11 @@
CONFIG_DISABLED_LINE_RANGE_MIN = -Float::INFINITY
# This class provides an API compatible with RuboCop::DirectiveComment
# to be used for cops that are disabled in the config file
class ConfigDisabledCopDirectiveComment
+ include RuboCop::Ext::Comment
+
attr_reader :text, :loc, :line_number
Loc = Struct.new(:expression)
Expression = Struct.new(:line)