1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

rename module

This commit is contained in:
strcmp 2015-12-29 06:50:49 +00:00
parent ba34c6a4cb
commit 983daf6fd5

View file

@ -1,7 +1,7 @@
module Pry::Config::Lazy
LAZY_KEYS = Hash.new {|h,k| h[k] = [] }
module ExtendModule
module ClassMethods
def lazy_implement(method_name_to_func)
method_name_to_func.each do |method_name, func|
define_method(method_name) do
@ -16,7 +16,7 @@ module Pry::Config::Lazy
end
def self.included(includer)
includer.extend(ExtendModule)
includer.extend(ClassMethods)
end
def lazy_keys