mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rename module
This commit is contained in:
parent
ba34c6a4cb
commit
983daf6fd5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue