Sha256: 4ca0bf79d6d62fecae5df595590eeb0c26a3c22e42bcdadadc16734cb867d932
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
module AutoloadModules autoload_modules :First, :mutate_path => Proc.new {|path| 'fixtures/autoload_modulez'} end module AutoloadModules autoload_scope :mutate_path => Proc.new {|path| 'fixtures/autoload_modulez'} do autoload_modules :Abc autoload_modules :Xyz end autoload_scope :proc => Proc.new {|the_module, module_name, require_file| require require_file } do autoload_modules :Procedure end end module AutoloadModules module Configuration autoload_scope :ns => { :AutoloadModules => 'fixtures/autoload_modulez', :Configuration => 'roles/config/'} do autoload_modules :Admin end autoload_modules :Editor end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sweetloader-0.1.6 | spec/fixtures/autoload_mutate_path.rb |
sweetloader-0.1.5 | spec/fixtures/autoload_mutate_path.rb |
sweetloader-0.1.4 | spec/fixtures/autoload_mutate_path.rb |