Class: CopyDb::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/copydb.rb

Class Method Summary collapse

Class Method Details

.read_anonymize_configObject



126
127
128
129
130
131
132
# File 'lib/copydb.rb', line 126

def self.read_anonymize_config
  if FileTest.exists?(File.expand_path('config/copydb_anonymize.yml'))
    YAML.load_file(File.expand_path('config/copydb_anonymize.yml'))
  else
    Hash.new
  end
end