Class: Arsenicum::Routing::Router
- Inherits:
-
Object
- Object
- Arsenicum::Routing::Router
- Defined in:
- lib/arsenicum/routing/router.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#broker ⇒ Object
readonly
Returns the value of attribute broker.
Instance Method Summary collapse
-
#initialize(broker) ⇒ Router
constructor
A new instance of Router.
Constructor Details
#initialize(broker) ⇒ Router
Returns a new instance of Router.
6 7 8 |
# File 'lib/arsenicum/routing/router.rb', line 6 def initialize(broker) @broker = WeakRef.new broker end |
Instance Attribute Details
#broker ⇒ Object (readonly)
Returns the value of attribute broker.
4 5 6 |
# File 'lib/arsenicum/routing/router.rb', line 4 def broker @broker end |