Sha256: 59ce28936e33718aead3ea07e80ff97718fa6e7c30e2ba0a7e5c48a856417340
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'helmet/api' require 'goliath/runner' class Test < Helmet::API get '/' do 'test' end end runner = Goliath::Runner.new(ARGV, nil) runner.api = Test.new runner.app = Goliath::Rack::Builder.build(Test, runner.api) runner.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
helmet-0.2.1 | examples/runner.rb |
helmet-0.2.0 | examples/runner.rb |