class Object

Constants

JC

Public Instance Methods

safeload(paths) click to toggle source
# File lib/jump_cloud.rb, line 33
def safeload(paths)
  paths.delete_if do |path|
    begin
      require(path)
      true
    rescue NameError => e
      false
    end
  end
end