Class: Twterm::Config
- Inherits:
-
Object
- Object
- Twterm::Config
- Defined in:
- lib/twterm/config.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
3 4 5 |
# File 'lib/twterm/config.rb', line 3 def [](key) config[key] end |
#[]=(key, value) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/twterm/config.rb', line 7 def []=(key, value) return if config[key] == value config[key] = value save_config_to_file end |