Class: Tina4::Router::GroupContext
- Inherits:
-
Object
- Object
- Tina4::Router::GroupContext
- Defined in:
- lib/tina4/router.rb
Instance Method Summary collapse
-
#initialize(prefix, auth_handler = nil) ⇒ GroupContext
constructor
A new instance of GroupContext.
Constructor Details
#initialize(prefix, auth_handler = nil) ⇒ GroupContext
Returns a new instance of GroupContext.
129 130 131 132 |
# File 'lib/tina4/router.rb', line 129 def initialize(prefix, auth_handler = nil) @prefix = prefix.chomp("/") @auth_handler = auth_handler end |