class Connection

Attributes

to[RW]
weight[RW]

Public Class Methods

new(to, weight) click to toggle source
# File lib/node/connection.rb, line 5
def initialize to, weight
        @to = to
        @weight = weight
end