Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これはゴリアテの例です:
require 'goliath' class HelloWorld < Goliath::API def response(env) [200, {}, "hello world"] end end
Goliath::APIクラスを定義してサブクラス化すると、Web サーバーがどのように開始されますか? これはクラスを定義するだけで、実際にインスタンス化して実行するべきではありませんか?
Goliath::API