Module: Md2key::ConfigBuilder

Defined in:
lib/md2key/config_builder.rb

Class Method Summary collapse

Class Method Details

.build(skip_options: true) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/md2key/config_builder.rb', line 4

def build(skip_options: true)
  master_names = Keynote.fetch_master_slide_names
  masters = master_names.map.with_index do |name, i|
    build_master_config(name, i, skip_options: skip_options)
  end
  ["masters:\n", *masters].join
end