Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def conf
- @conf ||= { 'foo' => { 'bar' => 'baz' } }
- end
- def destroy
- conf = nil
- end
- def change
- conf['foo']['bar'] = 'meh'
- end
- def add
- conf['foo']['abc'] = 'moo'
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement