Skip to content

Commit

Permalink
RuboCop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobEvelyn committed Sep 9, 2021
1 parent 49adac6 commit 229df4a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# Counter for calls to module method '.no_args', see below.
def self.module_no_args_counter
@module_no_args_counter || 0
@module_no_args_counter || 0 # rubocop:disable RSpec/InstanceVariable
end

# See: "with non-memoized method with same name as memoized method"
Expand All @@ -26,7 +26,7 @@ def self.no_args

# Counter for calls to module method '.with_one_positional_arg', see below.
def self.module_one_positional_arg_counter
@module_one_positional_arg_counter || 0
@module_one_positional_arg_counter || 0 # rubocop:disable RSpec/InstanceVariable
end

# See: "with non-memoized method with same name as memoized method"
Expand All @@ -41,7 +41,7 @@ def self.with_one_positional_arg(a) # rubocop:disable Naming/MethodParameterName

# Counter for calls to module method '.with_positional_args', see below.
def self.module_positional_args_counter
@module_positional_args_counter || 0
@module_positional_args_counter || 0 # rubocop:disable RSpec/InstanceVariable
end

# See: "with non-memoized method with same name as memoized method"
Expand Down

0 comments on commit 229df4a

Please sign in to comment.