module Kernel


Public Instance Methods

require?( string ) click to toggle source

Attempt to the load the library named string using the standard Kernel#require method. Returns true if the library was successfully loaded. Returns false if the library could not be loaded. This method will never raise an exception.

# File lib/logsly/logging182/utils.rb, line 122
def require?( string )
  require string
  return true
rescue LoadError
  return false
end