Prefer block pass from symbol over literal block
This commit is contained in:
parent
51aaf8aea6
commit
67573c2337
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def self.lines(source)
|
||||
source.lines.map { |line| line.chomp }
|
||||
source.lines.map(&:chomp)
|
||||
end
|
||||
private_class_method :lines
|
||||
|
||||
|
|
Loading…
Reference in a new issue