How to read an INI file in ruby

后端 未结 1 1489
慢半拍i
慢半拍i 2021-02-09 04:11

How do I read/write an ini file in ruby. I have an ini file that I need to

  1. read
  2. change an entry
  3. write out to a different location

相关标签:
1条回答
  • 2021-02-09 04:43

    I recently used ruby-inifile. Maybe it's overkill compared to the simple snippets here...

    0 讨论(0)
提交回复
热议问题