diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-23 11:34:16 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-23 11:34:16 -0700 |
commit | 84ac2eaa8bd16e44420abf660420698f76ad5473 (patch) | |
tree | d8e49f5e4622f048db218a506a7e669669a79cb3 /lib/rainbows/response.rb | |
parent | 8390c8a629647d76b99bd8f3699eae98f3d23a0f (diff) | |
download | rainbows-84ac2eaa8bd16e44420abf660420698f76ad5473.tar.gz |
rename parse_range => make_range!
It's a destructive method, and it does more than just parsing.
Diffstat (limited to 'lib/rainbows/response.rb')
-rw-r--r-- | lib/rainbows/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb index 44be30f..36ecbe2 100644 --- a/lib/rainbows/response.rb +++ b/lib/rainbows/response.rb @@ -52,7 +52,7 @@ module Rainbows::Response module NoRange # dummy method if we can't send range responses - def parse_range(env, status, headers) + def make_range!(env, status, headers) end end end |