summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: daf0ea9)
raw | patch | inline | side by side (parent: daf0ea9)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 22 Oct 2006 16:01:42 +0000 (16:01 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 22 Oct 2006 16:01:42 +0000 (16:01 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@906 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/ruby/test.rb | patch | blob | history |
diff --git a/bindings/ruby/test.rb b/bindings/ruby/test.rb
index 3cdcca6177d6687e8a15b9731011fa697ebc9f8a..48533266b60b6a2f2a66a958a412c375bf7f9eb5 100755 (executable)
--- a/bindings/ruby/test.rb
+++ b/bindings/ruby/test.rb
# $Id: test.rb,v 1.2 2002/10/22 17:34:00 miles Exp $
# Driver does not carry cash.
+$: << '/scratch/rrd12build/lib/ruby/1.8/i386-linux/'
+
require "RRD"
name = "test"
RRD.graph(
"#{name}.png",
"--title", " RubyRRD Demo",
- "--start", "#{start} + 1 h",
- "--end", "#{start} + 1000 min",
+ "--start", "#{start+3600}",
+ "--end", "start + 1000 min",
"--interlace",
"--imgformat", "PNG",
"--width=450",