Sha256: 39bf1209acca74516106cdabb53d5f43f495d10bfbe2936ec6407db1edb712f0

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

Dir['lib/lol/*.rb'].each do |file|
  filename  = File.basename file
  classname = filename.split('.rb').first.camelize
  Lol.autoload classname, File.expand_path("../#{filename}", __FILE__)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lol-0.9.8 lib/lol/autoloader.rb
ruby-lol-0.9.7 lib/lol/autoloader.rb
ruby-lol-0.9.6 lib/lol/autoloader.rb