Class: CodeBuddy::ShowApp
- Inherits:
-
Object
- Object
- CodeBuddy::ShowApp
- Defined in:
- lib/code_buddy/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ ShowApp
constructor
A new instance of ShowApp.
Constructor Details
#initialize(app) ⇒ ShowApp
Returns a new instance of ShowApp.
3 4 5 6 7 |
# File 'lib/code_buddy/middleware.rb', line 3 def initialize(app) @app = app CodeBuddy::App.path_prefix = '/code_buddy' end |