Sha256: 5e84a1e326b8444b49dbd64b39f3c0f6a075a4a59ac66ba60d5e64b8bb9c6b82
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 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
4 entries across 4 versions & 1 rubygems