Class: Percheron::Commands::Graph

Inherits:
Abstract
  • Object
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_outputObject



13
14
15
# File 'lib/percheron/commands/graph.rb', line 13

def default_output
  'percheron_%s.png' % stack.name
end

#executeObject



8
9
10
11
# File 'lib/percheron/commands/graph.rb', line 8

def execute
  super
  stack.graph!(output || default_output)
end