Sha256: a29714e12786fa025a5cb09dfad4f372eadd5bb86702f18873c6f121cca1a1a3
Contents?: true
Size: 572 Bytes
Versions: 12
Compression:
Stored size: 572 Bytes
Contents
# # Dependencies # require 'rack' require 'rack/builder' class Rad::Http attr_accessor :host, :port, :static, :url_root, :default_format, :session require_attr :host, :port, :url_root, :default_format def static?; !!@static end attr_writer :public_path def public_path @public_path || "#{rad.runtime_path}/public" end def public_path?; !!public_path end end %w( rack_adapter fixes ).each{|f| require "rad/http/_support/rack/#{f}"} # # Libraries # %w( _request _response _http_adapter _http ).each{|f| require "rad/http/#{f}"}
Version data entries
12 entries across 12 versions & 1 rubygems