Sha256: 6f7cc724381a92c2b6170e38bca47b451e42f4436fdf7a297a5cc1857ddd89a7
Contents?: true
Size: 543 Bytes
Versions: 3
Compression:
Stored size: 543 Bytes
Contents
require 'rails_connector/rack_middlewares' 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/fiona_engine" if defined?(Rails)
Version data entries
3 entries across 3 versions & 1 rubygems