class Filemerger::Configuration

Attributes

delete_old_files[R]
masks[R]
ommit_lines[R]
result_mask[R]
working_folders[R]
xcode_project[R]
xcode_targets[R]

Public Class Methods

new() click to toggle source
# File lib/filemerger/configuration.rb, line 14
def initialize
  Poster.post_configuration_search

  if File.exist?("Mergefile")
    Poster.post_configuration_found
    data = YAML.load_file("Mergefile")

    @masks = data["masks"]
    @result_mask = data["result_mask"]
    @delete_old_files = data["delete_old_files"]
    @working_folders = data["working_folders"]
    @ommit_lines = data["ommit_lines"]
    @xcode_project = data["xcode_project"]
    @xcode_targets = data["xcode_targets"]
    @ommit_lines = data["ommit_lines"]
  else
    Poster.post_configuration_not_found
    exit
  end
end