config: Value#get() should return #default(), not @default
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 13 Feb 2008 15:38:57 +0000 (16:38 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 13 Feb 2008 15:38:57 +0000 (16:38 +0100)
commit22f6e518f5b82b9311ce2d1cb56bd269bbb5994f
tree27635afc5b4db6308a36bb17e5bfbf9890ec15cb
parentb65844bd23671dd86df00cd9a12385ecabd4f447
config: Value#get() should return #default(), not @default

@default may be a Proc, in which case the default value is obtained
by calling the Proc. So use #default() that takes care of this already.
lib/rbot/config.rb