Sha256: eeacf0e5e341d3003066e77f18fbea7bdc9ceafbfb4f6b7b7de5e3d6d30fcb29

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 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
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

1 entries across 1 versions & 1 rubygems

Version Path
sweetloader-0.1.2 spec/fixtures/autoload_mutate_path.rb