Class: Helium::Web
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Helium::Web
- Extended by:
- Configurable
- Defined in:
- lib/helium/web.rb,
lib/helium/web_helpers.rb
Constant Summary collapse
- ROOT_DIR =
File.(File.dirname(__FILE__))
- LIB_DIR =
'lib'
- CONFIG =
File.join(APP_DIR, 'deploy.yml')
- CUSTOM =
File.join(APP_DIR, 'custom.js')
- PUBLIC =
File.join(APP_DIR, 'public', WEB_ROOT)
- LOCK =
File.join(APP_DIR, '.lock')
Instance Method Summary collapse
-
#/ ⇒ Object
Rendered if a missing script file is requested.
Methods included from Configurable
Instance Method Details
#/ ⇒ Object
Rendered if a missing script file is requested.
33 |
# File 'lib/helium/web.rb', line 33 get('/') { erb :index } |