diff options
author | Angelo capilleri <capilleri@yahoo.com> | 2013-12-04 17:48:16 +0100 |
---|---|---|
committer | Angelo capilleri <capilleri@yahoo.com> | 2013-12-04 17:55:05 +0100 |
commit | 2f3fe92f1bdd2ca88dfa2a7aa0253b79a0bf6194 (patch) | |
tree | 19baef9aa72d19e2b4151b36b28c86255e59143b /actionpack | |
parent | 8bd09e0f1e9df0432550983aa2a9af4435e94568 (diff) | |
download | rails-2f3fe92f1bdd2ca88dfa2a7aa0253b79a0bf6194.tar.gz rails-2f3fe92f1bdd2ca88dfa2a7aa0253b79a0bf6194.tar.bz2 rails-2f3fe92f1bdd2ca88dfa2a7aa0253b79a0bf6194.zip |
remove nil in NullType#ref.
Return Nil is implicit in a method and this syntax is used in the others
classes
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_type.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb index a398919ca7..2a8ff0a5d2 100644 --- a/actionpack/lib/action_dispatch/http/mime_type.rb +++ b/actionpack/lib/action_dispatch/http/mime_type.rb @@ -299,9 +299,7 @@ module Mime true end - def ref - nil - end + def ref; end def respond_to_missing?(method, include_private = false) method.to_s.ends_with? '?' |