Method: ET::Config#save!

Defined in:
lib/et/config.rb

#save!(options) ⇒ Object



40
41
42
43
44
45
46
# File 'lib/et/config.rb', line 40

def save!(options)
  if exists?
    File.write(path, options.to_yaml)
  else
    File.write(File.join(current_dir, ".et"), options.to_yaml)
  end
end