Class: Usabl::MethodLoader

Inherits:
Quir::Loader
  • Object
show all
Defined in:
lib/usabl/method_loader.rb

Instance Method Summary collapse

Instance Method Details

#initialize_module(mod, dir) ⇒ Object



3
4
5
6
7
# File 'lib/usabl/method_loader.rb', line 3

def initialize_module(mod, dir)
  mod.extend ::Usabl::Methodspace
  mod.dir = dir
  mod.singleton_class.dir = dir
end