Class: Pokotarou::RegistrationConfigUpdater::Main

Inherits:
Object
  • Object
show all
Extended by:
ArrayUtils
Defined in:
lib/pokotarou/registration_config_updater/main.rb

Class Method Summary collapse

Methods included from ArrayUtils

get_rotated_val

Class Method Details

.update(model_content, block_name_sym, model_cache, maked, maked_col) ⇒ Object



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/pokotarou/registration_config_updater/main.rb', line 15

def update model_content, block_name_sym, model_cache, maked, maked_col
  model_name = model_content.first.to_s
  model_config = model_content.second
  update_model_cache(model_cache, model_name)
  
  
  model = model_cache[model_name][:model]
  model_name_sym = model_cache[model_name][:sym_model]
  set_loop_expand_expression(model_config, maked, maked_col)
  set_default_seed(model_config)
  set_seed_arr(model, block_name_sym, model_name_sym, model_config, maked, maked_col)
end