Class: FlashPlayer::MMConfig

Inherits:
Object
  • Object
show all
Defined in:
flashsdk/lib/flashplayer/mm_config.rb

Constant Summary

FILE_NAME =
'mm.cfg'

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (MMConfig) initialize

A new instance of MMConfig



9
10
11
12
# File 'flashsdk/lib/flashplayer/mm_config.rb', line 9

def initialize
  @file_name = FILE_NAME
  @logger    = $stdout
end

Instance Attribute Details

- (Object) logger

Returns the value of attribute logger



7
8
9
# File 'flashsdk/lib/flashplayer/mm_config.rb', line 7

def logger
  @logger
end

Instance Method Details

- (Object) create



14
15
16
# File 'flashsdk/lib/flashplayer/mm_config.rb', line 14

def create
  create_if_necessary_at config_path
end