Class: Sinatra::Browse::BrowseFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/sinatra/browse/format.rb

Direct Known Subclasses

ErbTemplate, JSON, YAML

Instance Method Summary collapse

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