Method: Usher::Route::Path#initialize
- Defined in:
- lib/usher/route/path.rb
#initialize(route, parts) ⇒ Path
Returns a new instance of Path.
8 9 10 11 12 |
# File 'lib/usher/route/path.rb', line 8 def initialize(route, parts) self.route = route self.parts = parts build_generator end |