Class: TCellAgent::Routes::RouteTable

Inherits:
Object
  • Object
show all
Defined in:
lib/tcell_agent/routes/table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRouteTable

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

#routesObject

Returns the value of attribute routes.



29
30
31
# File 'lib/tcell_agent/routes/table.rb', line 29

def routes
  @routes
end