Sha256: 3509551b5e8c5bdb378b27bb934eecf6dc94cea021cd1f2a66c9a1e2047b0e5c

Contents?: true

Size: 552 Bytes

Versions: 1

Compression:

Stored size: 552 Bytes

Contents

require 'rails_connector/core_extensions'
require "rails_connector/errors"

# @api public
module RailsConnector
  def self.autoload_all_sources
    source_files = Dir.glob(File.expand_path("../rails_connector/*.rb", __FILE__)).map do |file|
      File.basename(file)
    end

    source_files.each do |file|
      name = file.gsub(".rb", "")
      autoload name.camelcase, "rails_connector/#{name}"
    end
  end

  autoload_all_sources
end

require "rails_connector/engine" if defined?(Rails)
require "rails_connector/cloud_engine" if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 lib/infopark_cloud_connector.rb