Permalink
Browse files

remove nil in NullType#ref.

Return Nil is implicit in a method and this syntax is used in the others
classes
  • Loading branch information...
1 parent 8bd09e0 commit 2f3fe92f1bdd2ca88dfa2a7aa0253b79a0bf6194 @acapilleri acapilleri committed Dec 4, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 actionpack/lib/action_dispatch/http/mime_type.rb
View
4 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 2f3fe92

Please sign in to comment.