Class: Useless::Doc::Rack::UI
- Inherits:
-
Object
- Object
- Useless::Doc::Rack::UI
- Defined in:
- lib/useless/doc/rack/ui.rb
Overview
Doc::Rack::UI chooses which UI should be used to render the documentation. It can theoretically be chosen via the ‘ui’ parameter, but for now it will alway choose Godel
Class Method Summary collapse
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ UI
constructor
A new instance of UI.
Constructor Details
#initialize(app) ⇒ UI
Returns a new instance of UI.
17 18 19 |
# File 'lib/useless/doc/rack/ui.rb', line 17 def initialize(app) @app = app end |