Sha256: a993a43102ebd4e47d5ad0bdb9a9313ba6f115e9ca07c6f579eba1917f31bcaf
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true require 'inifile' module Xezat def config(filepath = nil) config = IniFile.new config['cygwin'] = { 'cygclassdir' => '/usr/share/cygport/cygclass' } config['xezat'] = { } config.merge!(IniFile.load(filepath)) if filepath config end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xezat-0.1.2 | lib/xezat/config.rb |
xezat-0.1.1 | lib/xezat/config.rb |