Sha256: 0372d756a10c0f7855558b5ea90d247576b54a863ec8965a873ebf68ccc9fccc

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 Bytes

Contents

module Clone

  ### Set Defaults
  begin

    ### Set basic paths
    begin
      SampleConfig.samples_path  = File.expand_path(File.join(File.dirname(__FILE__),"..","..","..","samples"))
      SampleConfig.yml_file_path = File.expand_path(File.join(File.dirname(__FILE__),"config.yml"))
    end

    ### Yml data
    begin
      Yaml.load
    end

    ### Config params
    begin
      SampleConfig.class_name         = SampleConfig.yml_data['class_name']
      SampleConfig.module_name        = SampleConfig.yml_data['module_name']
      SampleConfig.cmd_file_name      = SampleConfig.yml_data['cmd_file_name']
      SampleConfig.readme_file_names  = SampleConfig.yml_data['readme_file_names']
      SampleConfig.special_file_names = SampleConfig.yml_data['special_file_names']
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clone-1.0.0.beta2 lib/clone/config/z_defaults.rb
clone-1.0.0.beta lib/clone/config/z_defaults.rb