diff options
Diffstat (limited to 'core/config.rb')
-rw-r--r-- | core/config.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/config.rb b/core/config.rb index 466e435..36511ed 100644 --- a/core/config.rb +++ b/core/config.rb @@ -20,6 +20,14 @@ module Dinobot end end + def [](key) + @data[key] + end + + def []=(key, value) + @data[key] = value + end + def save @store.save end |