Skip to content

Commit

Permalink
Fix message and VersionAdded
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Mar 21, 2020
1 parent 76f7dd5 commit 7996480
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/default.yml
Expand Up @@ -1715,9 +1715,9 @@ Lint/ShadowingOuterLocalVariable:
VersionAdded: '0.9'

Lint/StructNewOverride:
Description: 'Disallow overriding the `Struct` original methods via `Struct.new`.'
Description: 'Disallow overriding the `Struct` built-in methods via `Struct.new`.'
Enabled: pending
VersionAdded: '0.80'
VersionAdded: '0.81'

Lint/SuppressedException:
Description: "Don't suppress exceptions."
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/lint/struct_new_override.rb
Expand Up @@ -3,7 +3,7 @@
module RuboCop
module Cop
module Lint
# This cop checks unexpected overrides of the `Struct` original methods
# This cop checks unexpected overrides of the `Struct` built-in methods
# via `Struct.new`.
#
# @example
Expand Down
4 changes: 2 additions & 2 deletions manual/cops_lint.md
Expand Up @@ -2302,9 +2302,9 @@ end

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Pending | Yes | No | 0.80 | -
Pending | Yes | No | 0.81 | -

This cop checks unexpected overrides of the `Struct` original methods
This cop checks unexpected overrides of the `Struct` built-in methods
via `Struct.new`.

### Examples
Expand Down

0 comments on commit 7996480

Please sign in to comment.