mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
use the more common approach to assigning key default of []
This commit is contained in:
parent
6cbaf40969
commit
ba34c6a4cb
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
module Pry::Config::Lazy
|
||||
LAZY_KEYS = {}
|
||||
LAZY_KEYS.default_proc = lambda {|h,k| h[k] = [] }
|
||||
LAZY_KEYS = Hash.new {|h,k| h[k] = [] }
|
||||
|
||||
module ExtendModule
|
||||
def lazy_implement(method_name_to_func)
|
||||
|
|
Loading…
Reference in a new issue