Class: Inform::Config

Inherits:
Object show all
Defined in:
lib/runtime/config.rb

Overview

The Config class

Constant Summary collapse

DEFAULTS =
{
  environment: 'default',
  admin: false,
  language: 'English',
  game_path: File.expand_path(File.join(PROJECT_DIR_PATH, 'game')),
  game_dir_name: 'game',
  game_grammar_module_name: 'grammar',
  game_config_file_name: 'config.yml',
  game_components: 'modules world models rules verbs languages', # This order is required
  properties: 'player actor action action_to_be ' \
    'results parameters pattern ' \
    'noun second inp1 inp2 ' \
    'special_word special_number special_number1 special_number2 ' \
    'consult_words match_from wn verb_wordnum words ' \
    'parser_action parser_one parser_two scope_reason',
  log_level: Logger::INFO
}.freeze