Class: RakeGraph::Edge
- Inherits:
-
Object
- Object
- RakeGraph::Edge
- Defined in:
- lib/azkaban-rb/visualization.rb
Instance Attribute Summary collapse
-
#dest ⇒ Object
readonly
Returns the value of attribute dest.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(source, dest) ⇒ Edge
constructor
A new instance of Edge.
- #to_s ⇒ Object
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
#dest ⇒ Object (readonly)
Returns the value of attribute dest.
148 149 150 |
# File 'lib/azkaban-rb/visualization.rb', line 148 def dest @dest end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
148 149 150 |
# File 'lib/azkaban-rb/visualization.rb', line 148 def source @source end |
#type ⇒ Object (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_s ⇒ Object
155 156 157 |
# File 'lib/azkaban-rb/visualization.rb', line 155 def to_s return "#{source} >> #{dest}" end |