Class: RailsDbBrowser::Runner
- Inherits:
-
Object
- Object
- RailsDbBrowser::Runner
- Defined in:
- lib/rails_db_browser.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(path) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(path) ⇒ Runner
Returns a new instance of Runner.
9 10 11 |
# File 'lib/rails_db_browser.rb', line 9 def initialize(path) @url_truncate = URLTruncate.new(DbBrowser, path) end |
Instance Method Details
#call(env) ⇒ Object
13 14 15 |
# File 'lib/rails_db_browser.rb', line 13 def call(env) @url_truncate.call(env) end |