Class: Percheron::Commands::Graph
- Inherits:
-
Abstract
- Object
- Clamp::Command
- Abstract
- Percheron::Commands::Graph
show all
- Defined in:
- lib/percheron/commands/graph.rb
Instance Method Summary
collapse
Methods inherited from Abstract
#config, default_parameters!, #runit, #stack
Instance Method Details
#default_output ⇒ Object
13
14
15
|
# File 'lib/percheron/commands/graph.rb', line 13
def default_output
'percheron_%s.png' % stack.name
end
|
#execute ⇒ Object
8
9
10
11
|
# File 'lib/percheron/commands/graph.rb', line 8
def execute
super
stack.graph!(output || default_output)
end
|