lib/lint_trap/language/ruby.rb in lint_trap-0.0.6 vs lib/lint_trap/language/ruby.rb in lint_trap-0.0.7
- old
+ new
@@ -4,10 +4,10 @@
module LintTrap
module Language
# Ruby
class Ruby < Base
def linters
- [Linter::RuboCop]
+ [Linter::RuboCop].map(&:new)
end
end
end
end