Top Level Namespace
Defined Under Namespace
Classes: AuthService, NetUtil
Instance Method Summary collapse
Instance Method Details
#load_gem_lib(sub_path) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/adsk_auth_service.rb', line 4 def load_gem_lib(sub_path) spec = Gem::Specification.find_by_name('adsk_auth_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 |