Module: FlashPlayer

Defined in:
flashsdk/lib/flashplayer/task.rb,
flashsdk/lib/flashplayer/trust.rb,
flashsdk/lib/flashplayer/module.rb,
flashsdk/lib/flashplayer/errors.rb,
flashsdk/lib/flashplayer/log_file.rb,
flashsdk/lib/flashplayer/mm_config.rb

Defined Under Namespace

Classes: LogFile, MMConfig, PathError, Task, Trust, UsageError

Constant Summary

NAME =
'flashplayer'
VERSION =
'10.1.102'

Class Method Summary (collapse)

Class Method Details

+ (Object) flashlog



22
23
24
# File 'flashsdk/lib/flashplayer/module.rb', line 22

def flashlog
  File.join home, 'Logs', 'flashlog.txt'
end

+ (Object) home



8
9
10
11
12
13
14
15
16
# File 'flashsdk/lib/flashplayer/module.rb', line 8

def home
  # NOTE: Look up the value every time,
  # this way we're not storing state globally
  # and the performance penalty is minimal...
  home_paths.each do |path|
    return path if File.exists?(path)
  end
  raise FlashPlayer::PathError.new('FlashPlayer unable to find home folder for your System')
end

+ (Object) trust



18
19
20
# File 'flashsdk/lib/flashplayer/module.rb', line 18

def trust
  File.join home, '#Security', 'FlashPlayerTrust', 'sprout.cfg'
end