Sha256: 56bb06ac4e883c1f2e4327010108bbad8c118b8efc48b051f9e7e3412750bab2
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
class RubyLogo def initialize(app) @app = app end def call(env) if env["REQUEST_URI"].include? "?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" # Dump the ruby logo [200, {"Content-Type" => "image/png"}, File.open(File.expand_path("../../assets/php.gif", __FILE__))] else @app.call(env) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_logo-0.0.2 | lib/ruby_logo.rb |