Class: VivlioPack::Viewer
- Inherits:
-
Object
- Object
- VivlioPack::Viewer
- Defined in:
- lib/vivlio_pack/viewer.rb
Defined Under Namespace
Classes: App
Instance Method Summary collapse
-
#initialize ⇒ Viewer
constructor
A new instance of Viewer.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Viewer
Returns a new instance of Viewer.
51 52 53 54 55 |
# File 'lib/vivlio_pack/viewer.rb', line 51 def initialize @app = Rack::Builder.new do run App.new end end |
Instance Method Details
#run ⇒ Object
57 58 59 |
# File 'lib/vivlio_pack/viewer.rb', line 57 def run Rack::Handler::Puma.run @app end |