class WhirledPeas::Command::Frames

Public Class Methods

description() click to toggle source
# File lib/whirled_peas/command/frames.rb, line 6
def self.description
  'Print out list of frames generated by application'
end

Public Instance Methods

start() click to toggle source
# 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