aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-01 23:29:28 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-01 23:29:28 -0600
commitad26f066fe94bad4219f235a0d65190e4d8d15c8 (patch)
tree2b6cdf547be0ee6e80e1d6ecbef0991c6d1fa97d /actionpack
parentf22db809c9da89adac0be60c5b70f37f75dc8376 (diff)
downloadrails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.tar.gz
rails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.tar.bz2
rails-ad26f066fe94bad4219f235a0d65190e4d8d15c8.zip
Response#write is defined twice (this is why -w is good)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/response.rb6
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