Class: Courgette::Commands::Graph
- Inherits:
-
Object
- Object
- Courgette::Commands::Graph
- Defined in:
- lib/courgette/commands/graph.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Graph
constructor
A new instance of Graph.
- #run ⇒ Object
Constructor Details
#initialize(options) ⇒ Graph
Returns a new instance of Graph.
7 8 9 |
# File 'lib/courgette/commands/graph.rb', line 7 def initialize @options = end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/courgette/commands/graph.rb', line 11 def run factory.load graph formats.each do |fmt| factory.save name, fmt end end |