Sha256: 85a709bb1d30695cde22cb9040fa23894326b5f69db2f39df57a2d57b15eddc9
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. module Ramaze class Response < Rack::Response class << self def current() Current.response end end def build(body = body, status = status, header = header) header.each do |key, value| self[key] = value end self.body, self.status = body, status self end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ramaze-0.3.9.1 | lib/ramaze/current/response.rb |
ramaze-0.3.9 | lib/ramaze/current/response.rb |