lib/soundcheck/frameworks.rb in soundcheck-0.2.2 vs lib/soundcheck/frameworks.rb in soundcheck-0.2.3
- old
+ new
@@ -1,6 +1,7 @@
require 'active_support/concern'
+require 'soundcheck/logging'
module Frameworks
module Base
extend ActiveSupport::Concern
@@ -14,9 +15,10 @@
end
end
module InstanceMethods
def filter_with(args, filters)
+ logger.debug "Filtering #{args.inspect}"
args.select do |arg|
filters.any? do |key, value|
case value
when Regexp
arg =~ value