diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-01 23:29:28 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-01 23:29:28 -0600 |
commit | ad26f066fe94bad4219f235a0d65190e4d8d15c8 (patch) | |
tree | 2b6cdf547be0ee6e80e1d6ecbef0991c6d1fa97d | |
parent | f22db809c9da89adac0be60c5b70f37f75dc8376 (diff) | |
download | rails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.tar.gz rails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.tar.bz2 rails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.zip |
Response#write is defined twice (this is why -w is good)
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index c651f21f68..32f9a0031d 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -56,12 +56,6 @@ module ActionDispatch # :nodoc: @cache_control ||= {} end - def write(str) - s = str.to_s - @writer.call s - str - end - def status=(status) @status = status.to_i end |