Sha256: 140acf40caa7591b5a189fbf635f040d7dd06bfbb1ee1a902e62c0c5aac5a731

Contents?: true

Size: 470 Bytes

Versions: 7

Compression:

Stored size: 470 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
infopark_cloud_connector-6.8.0.23.da7f96b lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.16.def5e85 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.15.a24f5ff lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.891.647580e lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.889.d503e42 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.883.f5f063b lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.884.4bd86e6 lib/infopark_cloud_connector.rb