Class: Pokotarou::RegistrationConfigMaker::TemplateOptionSetter

Inherits:
Object
  • Object
show all
Defined in:
lib/pokotarou/registration_config_maker/template_option_setter.rb

Class Method Summary collapse

Class Method Details

.set(all_content) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/pokotarou/registration_config_maker/template_option_setter.rb', line 6

def set all_content
  templates = fetch_template_option(all_content)
  
  all_content.each do |key, block_content|
    next if ConfigDomain.is_dush_syntax?(key.to_s)
    set_template_option(block_content, templates)
  end
end