spec/spec_helper.rb in wildcard_matchers-0.1.4 vs spec/spec_helper.rb in wildcard_matchers-0.1.5

- old
+ new

@@ -13,6 +13,8 @@ end # global debug function # usage: # wildcard_match?(actual, expected, &$debug) -$debug = proc {|errors| puts errors } +def debugger + ENV["DEBUG"] ? proc {|errors| puts errors } : nil +end