Skip to content

Commit

Permalink
Don't define Symbol#to_proc if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Mar 9, 2010
1 parent ce624b5 commit 482ddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -105,5 +105,5 @@ def to_proc
lambda do |x|
x.send(self)
end
end
end unless method_defined?(:to_proc)
end

0 comments on commit 482ddec

Please sign in to comment.