Class: FlashPlayer::MMConfig

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

Constant Summary collapse

FILE_NAME =
'mm.cfg'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMMConfig

Returns a new instance of MMConfig.



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

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

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

Instance Method Details

#createObject



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

def create
  create_if_necessary_at config_path
end