Skip to content

Commit a9ca5aa

Browse files
committed
tiny fix in docs
1 parent 05aba46 commit a9ca5aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/gnuplotrb.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
require 'open3'
44
require 'base64'
55

6+
##
7+
# Require gem if it's available in current gemspace.
8+
#
9+
# @param name [String] gem name
10+
# @return [Boolean] true if gem was loaded, false otherwise
611
def require_if_available(name)
712
require name
813
rescue LoadError

0 commit comments

Comments
 (0)