Sha256: 15456c6f5433a58e075aa9e97d68236f896f7bfb0547ad8c144a0f2c7d9b1a50
Contents?: true
Size: 637 Bytes
Versions: 120
Compression:
Stored size: 637 Bytes
Contents
module RuboCop class Cop::Lint::AssignmentInCondition undef_method :message def message(_) "Wrap assignment in parentheses if intentional" end end class DirectiveComment remove_const :DIRECTIVE_COMMENT_REGEXP DIRECTIVE_COMMENT_REGEXP = Regexp.new( ('# (?:standard|rubocop) : ((?:disable|enable|todo))\b ' + COPS_PATTERN) .gsub(" ", '\s*') ) end class CommentConfig alias_method :old_initialize, :initialize def initialize(processed_source) old_initialize(processed_source) @no_directives &&= !processed_source.raw_source.include?("standard") end end end
Version data entries
120 entries across 120 versions & 3 rubygems