Methods

Files

Class/Module Index [+]

Quicksearch

Tins::RequireMaybe

Public Instance Methods

require_maybe(library) click to toggle source
# File lib/tins/require_maybe.rb, line 3
def require_maybe(library)
  require library
rescue LoadError => e
  block_given? and yield e
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.