Class: Sinatra::Browse::BrowseFormat
- Inherits:
-
Object
- Object
- Sinatra::Browse::BrowseFormat
- Defined in:
- lib/sinatra/browse/format.rb
Instance Method Summary collapse
-
#initialize(browse_routes) ⇒ BrowseFormat
constructor
A new instance of BrowseFormat.
Constructor Details
#initialize(browse_routes) ⇒ BrowseFormat
Returns a new instance of BrowseFormat.
18 19 20 |
# File 'lib/sinatra/browse/format.rb', line 18 def initialize(browse_routes) @browse_routes = browse_routes end |