Permalink
Browse files

Merge pull request #13170 from acapilleri/remove_return_nil

remove nil in NullType#ref.
  • Loading branch information...
2 parents 2e7756a + 2f3fe92 commit d23b6a0f4513bb2be70a8342919c6c0f814d8fbb @rafaelfranca rafaelfranca committed Dec 4, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 actionpack/lib/action_dispatch/http/mime_type.rb
@@ -299,9 +299,7 @@ def nil?
true
end
- def ref
- nil
- end
+ def ref; end
def respond_to_missing?(method, include_private = false)
method.to_s.ends_with? '?'

0 comments on commit d23b6a0

Please sign in to comment.