Class: RakeGraph::DataNode
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Attributes inherited from Node
Instance Method Summary collapse
- #fillcolor ⇒ Object
-
#initialize(filename) ⇒ DataNode
constructor
A new instance of DataNode.
- #label ⇒ Object
- #shape ⇒ Object
Methods inherited from Node
Constructor Details
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
126 127 128 |
# File 'lib/azkaban-rb/visualization.rb', line 126 def filename @filename end |
Instance Method Details
#fillcolor ⇒ Object
142 143 144 |
# File 'lib/azkaban-rb/visualization.rb', line 142 def fillcolor return '#d2e3f3' end |
#label ⇒ Object
133 134 135 136 |
# File 'lib/azkaban-rb/visualization.rb', line 133 def label label = @filename return "<#{label}>".to_sym end |
#shape ⇒ Object
138 139 140 |
# File 'lib/azkaban-rb/visualization.rb', line 138 def shape return :box end |