Sha256: ff12afbb92a4973afbbe453e1c391aa2349ea21f2b97056e43d1fe8da4ccff6f
Contents?: true
Size: 302 Bytes
Versions: 14
Compression:
Stored size: 302 Bytes
Contents
class RackApp def self.call(_) [200, {}, ["hello rack app"]] end def self.prerequisites super end end RackApp2 = lambda{|_| [200, {}, ["hello rack app2"]] } class SinatraApp < Sinatra::Base set :public_folder, File.dirname(__FILE__) get "/" do "hello sinatra app" end end
Version data entries
14 entries across 14 versions & 1 rubygems