Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplified.

  • Loading branch information...
commit 3d91851661195c93e73b9d04aafa3a5b5c531c7d 1 parent 8ead972
@postmodern authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/warnings/warnings.rb
View
2  lib/warnings/warnings.rb
@@ -42,8 +42,6 @@ def self.from_method(name)
when Regexp
lambda { |warning| warning.source_method =~ name }
else
- name = name.to_s
-
lambda { |warning| warning.source_method == name }
end
Please sign in to comment.
Something went wrong with that request. Please try again.