Class: Sinatra::Path::Base

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

Instance Method Summary collapse

Constructor Details

#initialize(path, opts = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/sinatra/path.rb', line 6

def initialize(path, opts={})
  @path, @opts = path, opts
end