class Object
Constants
- ConfigService
Backward compatibility
Public Instance Methods
load_gem_lib(sub_path)
click to toggle source
# File lib/configger_service.rb, line 5 def load_gem_lib(sub_path) spec = Gem::Specification.find_by_name('configger_service') rb_files = Dir.glob("#{spec.gem_dir}/lib/#{sub_path}/*.rb") rb_files.each { |rb_file| require rb_file } rescue Exception => error # Who cares? end