Class: Sinatra::Path::Base
- Inherits:
-
Object
- Object
- Sinatra::Path::Base
- Defined in:
- lib/sinatra/path.rb
Instance Method Summary collapse
-
#initialize(path, opts = {}) ⇒ Base
constructor
A new instance of Base.
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 |