Class: TCellAgent::Routes::RouteTable
- Inherits:
-
Object
- Object
- TCellAgent::Routes::RouteTable
- Defined in:
- lib/tcell_agent/routes/table.rb
Instance Attribute Summary collapse
-
#routes ⇒ Object
Returns the value of attribute routes.
Instance Method Summary collapse
-
#initialize ⇒ RouteTable
constructor
A new instance of RouteTable.
Constructor Details
#initialize ⇒ RouteTable
Returns a new instance of RouteTable.
30 31 32 |
# File 'lib/tcell_agent/routes/table.rb', line 30 def initialize @routes = Hash.new { |h, k| h[k] = RouteEndpoint.new } end |
Instance Attribute Details
#routes ⇒ Object
Returns the value of attribute routes.
29 30 31 |
# File 'lib/tcell_agent/routes/table.rb', line 29 def routes @routes end |