Sha256: 8972081780bc24f5bdc8c86af1e9272b7d7f15ec677a45384e30c8bf8ac9add0
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
module AsciiDataTools class << self def configure(&block) record_types.instance_eval(&block) end def record_types @record_types ||= RecordType::RecordTypeRepository.new end def autodiscover require 'rubygems' configuration_files_from_newest_gem_versions = Gem.find_files('ascii-data-tools/discover.rb').select do |path| Gem.latest_load_paths.any? {|load_path| path.include?(load_path)} or not path.include?(Gem.default_dir) end configuration_files_from_newest_gem_versions.each {|f| load f} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ascii-data-tools-0.9 | lib/ascii-data-tools/global_autodiscovery.rb |