Class: TaskWarrior::Dependencies::Presenter
- Inherits:
-
Object
- Object
- TaskWarrior::Dependencies::Presenter
show all
- Defined in:
- lib/twdeps/presenter.rb
Overview
Presents a thing to the graph
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
7
8
9
10
|
# File 'lib/twdeps/presenter.rb', line 7
def initialize(id)
@id = id
@attributes = {:label => id, :labelloc => 'top'}
end
|
Instance Attribute Details
#attributes ⇒ Object
12
13
14
|
# File 'lib/twdeps/presenter.rb', line 12
def attributes
@attributes
end
|
#id ⇒ Object
16
17
18
|
# File 'lib/twdeps/presenter.rb', line 16
def id
@id
end
|