Methods

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/logging/utils.rb, line 122
def require?( string )
  require string
  return true
rescue LoadError
  return false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.