diff options
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/config/object.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index 9172fa7..f75bcb9 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -70,6 +70,11 @@ module LeapCli end end + # override behavior of #default() from Hash + def default + get!('default') + end + # # Like a normal Hash#[], except: # |