module Flashman

Constants

VERSION

Public Class Methods

init(window, output, interval, speed, times) click to toggle source
# File lib/flashman.rb, line 6
def self.init(window, output, interval, speed, times)
  Flashman.new(window, output, interval, speed, times)
end
usage() click to toggle source
# File lib/flashman.rb, line 10
def self.usage
  puts "flashman [-w appname] [-o output-file] [-i interval] [-s speed]"
  puts
  puts "Options are as follows:"
  puts "  -w  Specify an application name which you want to record. The default is 'Terminal'."
  puts "  -o  Specify the output file. The default is to put 'out.gif' in the directory where flashman was executed."
  puts "  -i  Specify the interval in seconds. The screen of the application is recorded every 'interval' seconds."
  puts "  -s  Specify the number of the speed. If you specify '2', the playback speed will be doubled."
  puts "  -t  Specify how many times the output gif loops. The default is '0' which means infinite."
end