Method: IniFile#merge
- Defined in:
- lib/inifile.rb
#merge(other) ⇒ Object
Public: Creates a copy of this inifile with the entries from the other_inifile merged into the copy.
other - The other IniFile.
Returns a new IniFile.
180 181 182 |
# File 'lib/inifile.rb', line 180 def merge( other ) self.dup.merge!(other) end |