Method: Inifile#write

Defined in:
lib/vr/contrib/inifile.rb

#write(section, key, value) ⇒ Object



66
67
68
69
# File 'lib/vr/contrib/inifile.rb', line 66

def write( section, key, value)
  self.update({section.strip=>{}}) if self[section.strip] == nil
  self[section.strip].update({key.strip => (value.to_s).strip})
end