Sha256: 0b0987e86980b093bb6ced5b60f54c98b7c407eac568fc3ddaa34b44e15eca98

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quicken-ruby-0.1.1 lib/quicken/commands/autoloader.rb