lib/gnuplotrb.rb
##
# Require gem if it's available in current gemspace.
#
# @param name [String] gem name
# @return [Boolean] true if gem was loaded, false otherwise
Require gem if it's available in current gemspace.
Require gem if it ' s available in current gemspace .
def require_if_available(name)
  require name
rescue LoadError
  false
end
def require_if_available ( name ) require name rescue LoadError false end
Require gem if it's available in current gemspace.
Require gem if it ' s available in current gemspace .
true if gem was loaded, false otherwise
true if gem was loaded false otherwise
Boolean
name
None