Class: Stitch::Server
- Inherits:
-
Object
- Object
- Stitch::Server
- Defined in:
- lib/stitch/server.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(options = {}) ⇒ Server
constructor
A new instance of Server.
Constructor Details
Instance Method Details
#call(env) ⇒ Object
7 8 9 |
# File 'lib/stitch/server.rb', line 7 def call(env) [200, {"Content-Type" => "text/javascript"}, [@package.compile]] end |