Class: HS::DevServer
- Inherits:
-
Object
- Object
- HS::DevServer
- Defined in:
- lib/hs/devserver.rb
Class Attribute Summary collapse
-
.app ⇒ Object
Returns the value of attribute app.
-
.entry ⇒ Object
Returns the value of attribute entry.
Class Method Summary collapse
Class Attribute Details
.app ⇒ Object
Returns the value of attribute app.
9 10 11 |
# File 'lib/hs/devserver.rb', line 9 def app @app end |
.entry ⇒ Object
Returns the value of attribute entry.
9 10 11 |
# File 'lib/hs/devserver.rb', line 9 def entry @entry end |
Class Method Details
.create(config = {}) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/hs/devserver.rb', line 11 def create(config = {}) self.entry = config[:entry] self.app = initialize_application(config) set_root_route set_chapter_route set_module_route app end |