Class: Arsenicum::Routing::Router

Inherits:
Object
  • Object
show all
Defined in:
lib/arsenicum/routing/router.rb

Direct Known Subclasses

Default

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#brokerObject (readonly)

Returns the value of attribute broker.



4
5
6
# File 'lib/arsenicum/routing/router.rb', line 4

def broker
  @broker
end