Method: BasicDiskSettings#set
- Defined in:
- lib/rsettings/adapters/basic_disk_settings.rb
#set(opts = {}) ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/rsettings/adapters/basic_disk_settings.rb', line 16 def set(opts ={}) opts = all.merge opts File.open file, "w+" do |io| io.puts opts.to_yaml end notify :set, @settings end |