lib/fasterer/offense_collector.rb in fasterer-0.2.0 vs lib/fasterer/offense_collector.rb in fasterer-0.2.1
- old
+ new
@@ -10,8 +10,8 @@
def [](offense_name)
@offenses.select { |offense| offense.name == offense_name }
end
- def_delegators :@offenses, :push, :any?, :each, :group_by
+ def_delegators :@offenses, :push, :any?, :each, :group_by, :count
end
end