Sha256: 004d8db5106ef90aa40c7d34ff28fd1422dc9ebdddda71655c71d24ab3380e2f
Contents?: true
Size: 338 Bytes
Versions: 14
Compression:
Stored size: 338 Bytes
Contents
module Scorpion # Add scorpion support to a Rack middleware. module Rack private def scorpion( env ) env[ Middleware::ENV_KEY ] || fail( MissingScorpionError.new( self.class.name ) ) end end end require "scorpion/rack/env" require "scorpion/rack/middleware" require "scorpion/rack/missing_scorpion_error"
Version data entries
14 entries across 14 versions & 1 rubygems