Sha256: 7b9d54a4099778e95b58c6b89a289bea29d2466ee4538b7910793682f6a45bcc

Contents?: true

Size: 784 Bytes

Versions: 4

Compression:

Stored size: 784 Bytes

Contents

module Airake #:nodoc:
  
  module Commands #:nodoc:
    
    # Flash Player (standalone)
    #
    # In progress, untested.
    #
    class FlashPlayer < Base
      
      attr_reader :swf_path
      
      # Create Flash Player command.
      #
      # ==== Options
      # +flash_player+:: Path to flash player, defaults to '/Applications/Flash Player.app/Contents/MacOS/Flash Player'
      # +swf_path+:: Path to swf
      #
      def initialize(options = {})
        with_options(options, { :flash_player => "/Applications/Flash Player.app/Contents/MacOS/Flash Player" })               
      end
      
      # The flash player command
      def generate
        command = []
        command << @swf_path
        process(command)
      end
            
    end
    
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
airake-0.4.4 lib/airake/commands/flash_player.rb
airake-0.4.2 lib/airake/commands/flash_player.rb
airake-0.4.3 lib/airake/commands/flash_player.rb
airake-0.4.5 lib/airake/commands/flash_player.rb