Method: Minke::Config::Reader#read_pre_post_section

Defined in:
lib/minke/config/reader.rb

#read_pre_post_section(section) ⇒ Object



66
67
68
69
70
71
# File 'lib/minke/config/reader.rb', line 66

def read_pre_post_section section
  TaskRunSettings.new.tap do |tr|
    tr.tasks         = section['tasks']                  unless section['tasks'] == nil
    tr.copy          = read_copy_section section['copy'] unless section['copy'] == nil
  end
end