Sha256: d3d97dc4f3dbaa19ae9c6c810df129638b9fc0b4173da1ebd98c9cd2db915597

Contents?: true

Size: 238 Bytes

Versions: 8

Compression:

Stored size: 238 Bytes

Contents

# This class models an edge in a directed graph.
class Edge < ActiveRecord::Base
  belongs_to :source, :class_name => 'Vertex', :foreign_key => 'source_id'
  belongs_to :sink,   :class_name => 'Vertex', :foreign_key => 'sink_id'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0-x86-mingw32 test/models/edge.rb
ibm_db-5.1.0-x86-mingw32 test/models/edge.rb
ibm_db-5.0.5-x86-mingw32 test/models/edge.rb
ibm_db-5.0.4-x86-mingw32 test/models/edge.rb
ibm_db-5.0.3-x86-mingw32 test/models/edge.rb
ibm_db-5.0.2-x86-mingw32 test/models/edge.rb
ibm_db-3.0.5-x86-mingw32 test/models/edge.rb
ibm_db-3.0.5 test/models/edge.rb