Class: Flon::Router::Match
- Inherits:
-
Struct
- Object
- Struct
- Flon::Router::Match
- Defined in:
- lib/flon/router.rb
Overview
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
The route’s action.
-
#params ⇒ Hash{Symbol => Object}
readonly
The route’s bound parameters.
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the route’s action.
18 |
# File 'lib/flon/router.rb', line 18 Match = Struct.new(:action, :params) |
#params ⇒ Hash{Symbol => Object} (readonly)
Returns the route’s bound parameters.
18 |
# File 'lib/flon/router.rb', line 18 Match = Struct.new(:action, :params) |