Sha256: 1682172b3f9585b1154570ecdea55bd884c5da10429c6da6d4422ef9af82c16e
Contents?: true
Size: 522 Bytes
Versions: 11
Compression:
Stored size: 522 Bytes
Contents
require 'rails_connector/rack_middlewares' require 'rails_connector/couchdb_views_source_path' 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
11 entries across 11 versions & 1 rubygems