Use underscores for unused parameters

This commit is contained in:
Markus Schirp 2013-06-15 17:15:14 +02:00
parent 6673cec705
commit 3d499fe61c
2 changed files with 7 additions and 7 deletions

View file

@ -42,14 +42,14 @@ module Mutant
# Return filter for handle
#
# @param [String] notation
# @param [String] _notation
#
# @return [nil]
# returns nil
#
# @api private
#
def self.handle(notation)
def self.handle(_notation)
nil
end
@ -58,14 +58,14 @@ module Mutant
# Test for match
#
# @pram [Mutation] mutation
# @pram [Mutation] _mutation
#
# @return [true]
# returns true
#
# @api private
#
def match?(mutation)
def match?(_mutation)
true
end

View file

@ -26,7 +26,7 @@ module Mutant
#
# @api private
#
def self.spec_files(mutation)
def self.spec_files(_mutation)
Dir['spec/unit/**/*_spec.rb']
end
end # Unit
@ -40,7 +40,7 @@ module Mutant
#
# @api private
#
def self.spec_files(mutation)
def self.spec_files(_mutation)
Dir['spec/integration/**/*_spec.rb']
end
end # Integration
@ -54,7 +54,7 @@ module Mutant
#
# @api private
#
def self.spec_files(mutation)
def self.spec_files(_mutation)
Dir['spec/**/*_spec.rb']
end
end # Full