Sha256: 75bcb977e964e5c05279caf538684972ffe1ff0105295ae991111e0a4a239021
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
require "rack/when/version" require "rack/when/builder" require "rack/builder" module Rack module When class << self def development &block environment :development, &block end def test &block environment :test, &block end def staging &block environment :staging, &block end def production &block environment :production, &block end def environment environment, &block Builder.new(environment,block).mount end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-when-0.0.2 | lib/rack/when.rb |
rack-when-0.0.1 | lib/rack/when.rb |