lib/midori/response.rb in em-midori-0.1.7 vs lib/midori/response.rb in em-midori-0.1.7.1
- old
+ new
@@ -4,10 +4,10 @@
# @attr [Hash] header HTTP response header
# @attr [String] body HTTP response body
class Midori::Response
attr_accessor :status, :header, :body
- # @param [Fixnum] code HTTP response code
+ # @param [Integer] code HTTP response code
# @param [Hash] header HTTP response header
# @param [String] body HTTP response body
# Init a Response
def initialize(code = 200, header = Midori::Const::DEFAULT_HEADER.clone, body = '')
@status = Midori::Const::STATUS_CODE[code]