Sha256: b5fdc9ede73bcbb3a5530e5e3df7e86e6aa1c7a0bd08675196d899a3c922a895
Contents?: true
Size: 650 Bytes
Versions: 21
Compression:
Stored size: 650 Bytes
Contents
module Uppercutbuild class Project def initialize # @config_file = ".uc/options.yaml" end # def ensure_default_config # if File.exist? @config_file # return # end # add_file @config_file # content = YAML::dump( {'lib'=>'lib'} ) # append_file @config_file, content # end def get_location # content = YAML.load_file @config_file # content['lib'] "" end #def set_location(name) # File.delete @config_file if File.exist? @config_file # content = YAML::dump( { 'lib' => name }) # File.open(@config_file, 'w') {|f| f.write(content) } # end end end
Version data entries
21 entries across 21 versions & 1 rubygems