Sha256: d7579f1304a906e90e5c3b5076fdc6ceddee28bf0b38eac2d78d6834bc95bdd8
Contents?: true
Size: 351 Bytes
Versions: 10
Compression:
Stored size: 351 Bytes
Contents
module PolyglotIos module IO class Config CONFIG_FILE_PATH = "#{Dir.pwd}/polyglot.yml".freeze class << self def write(data) File.open(CONFIG_FILE_PATH, 'w') { |file| YAML.dump(data, file) } end def read YAML.load_file(CONFIG_FILE_PATH) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems