Class: WhirledPeas::Command::Frames

Inherits:
ConfigCommand
  • Object
show all
Defined in:
lib/whirled_peas/command/frames.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.descriptionObject



6
7
8
# File 'lib/whirled_peas/command/frames.rb', line 6

def self.description
  'Print out list of frames generated by application'
end

Instance Method Details

#startObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/whirled_peas/command/frames.rb', line 10

def start
  super

  require 'whirled_peas/animator/debug_consumer'
  require 'whirled_peas/animator/producer'

  Animator::Producer.produce(Animator::DebugConsumer.new) do |producer|
    config.application.start(producer)
  end
end