Class: Flist::Config
- Inherits:
-
Object
- Object
- Flist::Config
- Includes:
- Ykutils::DebugUtils
- Defined in:
- lib/flist/config.rb
Overview
構成情報クラス
Instance Method Summary collapse
Instance Method Details
#setup_config ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/flist/config.rb', line 8 def setup_config scope = {} value_hash = {} content = Ykutils::Erubyx.erubi_render_with_template_file(ERB_CONFIG_YAML_FILE, scope, value_hash) Ykxutils.yaml_load_comati(content) File.write(SAMPLE_CONFIG_YAML_FILE, content) end |