Class: Opal::CliRunners::Server::App
- Inherits:
-
SimpleServer
- Object
- SimpleServer
- Opal::CliRunners::Server::App
- Defined in:
- opal/lib/opal/cli_runners/server.rb
Constant Summary
Constants inherited from SimpleServer
Instance Attribute Summary
Attributes inherited from SimpleServer
Instance Method Summary collapse
- #builder(_) ⇒ Object
-
#initialize(options = {}) ⇒ App
constructor
A new instance of App.
Methods inherited from SimpleServer
#append_path, #cache_invalidator, #call, #call_index, #call_js, #fetch_asset, #javascript_include_tag
Constructor Details
#initialize(options = {}) ⇒ App
Returns a new instance of App.
70 71 72 73 |
# File 'opal/lib/opal/cli_runners/server.rb', line 70 def initialize( = {}) @builder = .fetch(:builder) super end |
Instance Method Details
#builder(_) ⇒ Object
75 76 77 |
# File 'opal/lib/opal/cli_runners/server.rb', line 75 def builder(_) @builder.call end |