Class: Sinatra::Browse::BrowseFormat
- Inherits:
-
Object
- Object
- Sinatra::Browse::BrowseFormat
- Defined in:
- lib/sinatra/browse/format.rb
Direct Known Subclasses
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.
21 22 23 |
# File 'lib/sinatra/browse/format.rb', line 21 def initialize(browse_routes) @browse_routes = browse_routes end |