Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 6e2ce40

Browse files
bennacer860soulcutter
authored andcommitted
make modifiers use the base dedent setting
1 parent 6d3fcdc commit 6e2ce40

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.rubocop.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ Style/SpaceAroundOperators:
5151
- '=>'
5252
- '<<'
5353

54-
Style/AccessModifierIndentation:
55-
Enabled: false
56-
5754
# This could change depending of the style used
5855
Style/MultilineOperationIndentation:
5956
Enabled: false

lib/rspec/core/formatters/console_codes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module ConsoleCodes
2020
# @private
2121
VT100_CODE_VALUES = VT100_CODES.invert
2222

23-
module_function
23+
module_function
2424

2525
# @private
2626
CONFIG_COLORS_TO_METHODS = Configuration.instance_methods.grep(/_color\z/).inject({}) do |hash, method|

lib/rspec/core/notifications.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module RSpec::Core
99
module Notifications
1010
# @private
1111
module NullColorizer
12-
module_function
12+
module_function
1313

1414
def wrap(line, _code_or_symbol)
1515
line

lib/rspec/core/shell_escape.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Core
33
# @private
44
# Deals with the fact that `shellwords` only works on POSIX systems.
55
module ShellEscape
6-
module_function
6+
module_function
77

88
def quote(argument)
99
"'#{argument.gsub("'", "\\\\'")}'"

0 commit comments

Comments
 (0)