Class: RakeGraph::Edge

Inherits:
Object
  • Object
show all
Defined in:
lib/azkaban-rb/visualization.rb

Direct Known Subclasses

DataEdge, TaskEdge

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source, dest) ⇒ Edge

Returns a new instance of Edge.



150
151
152
153
# File 'lib/azkaban-rb/visualization.rb', line 150

def initialize(source, dest)
  @source = source
  @dest = dest
end

Instance Attribute Details

#destObject (readonly)

Returns the value of attribute dest.



148
149
150
# File 'lib/azkaban-rb/visualization.rb', line 148

def dest
  @dest
end

#sourceObject (readonly)

Returns the value of attribute source.



148
149
150
# File 'lib/azkaban-rb/visualization.rb', line 148

def source
  @source
end

#typeObject (readonly)

Returns the value of attribute type.



148
149
150
# File 'lib/azkaban-rb/visualization.rb', line 148

def type
  @type
end

Instance Method Details

#to_sObject



155
156
157
# File 'lib/azkaban-rb/visualization.rb', line 155

def to_s
  return "#{source} >> #{dest}"
end