Use underscores for unused parameters
This commit is contained in:
parent
6673cec705
commit
3d499fe61c
2 changed files with 7 additions and 7 deletions
|
@ -42,14 +42,14 @@ module Mutant
|
||||||
|
|
||||||
# Return filter for handle
|
# Return filter for handle
|
||||||
#
|
#
|
||||||
# @param [String] notation
|
# @param [String] _notation
|
||||||
#
|
#
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
# returns nil
|
# returns nil
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def self.handle(notation)
|
def self.handle(_notation)
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -58,14 +58,14 @@ module Mutant
|
||||||
|
|
||||||
# Test for match
|
# Test for match
|
||||||
#
|
#
|
||||||
# @pram [Mutation] mutation
|
# @pram [Mutation] _mutation
|
||||||
#
|
#
|
||||||
# @return [true]
|
# @return [true]
|
||||||
# returns true
|
# returns true
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def match?(mutation)
|
def match?(_mutation)
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def self.spec_files(mutation)
|
def self.spec_files(_mutation)
|
||||||
Dir['spec/unit/**/*_spec.rb']
|
Dir['spec/unit/**/*_spec.rb']
|
||||||
end
|
end
|
||||||
end # Unit
|
end # Unit
|
||||||
|
@ -40,7 +40,7 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def self.spec_files(mutation)
|
def self.spec_files(_mutation)
|
||||||
Dir['spec/integration/**/*_spec.rb']
|
Dir['spec/integration/**/*_spec.rb']
|
||||||
end
|
end
|
||||||
end # Integration
|
end # Integration
|
||||||
|
@ -54,7 +54,7 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def self.spec_files(mutation)
|
def self.spec_files(_mutation)
|
||||||
Dir['spec/**/*_spec.rb']
|
Dir['spec/**/*_spec.rb']
|
||||||
end
|
end
|
||||||
end # Full
|
end # Full
|
||||||
|
|
Loading…
Reference in a new issue