projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error "cairo_restore without matching cairo_save" when zero-time point is out...
[rrdtool.git]
/
doc
/
rrdruby.pod
diff --git
a/doc/rrdruby.pod
b/doc/rrdruby.pod
index
9633447
..
5a64793
100644
(file)
--- a/
doc/rrdruby.pod
+++ b/
doc/rrdruby.pod
@@
-46,7
+46,7
@@
to the other B<rrdtool> documentation for functions and valid arguments.
puts
puts "fetching data from #{rrd}"
puts
puts "fetching data from #{rrd}"
- (fstart, fend, data) = RRD.fetch(rrd, "--start", start.to_s, "--end",
+ (fstart, fend, data
, step
) = RRD.fetch(rrd, "--start", start.to_s, "--end",
(start + 300 * 300).to_s, "AVERAGE")
puts "got #{data.length} data points from #{fstart} to #{fend}"
puts
(start + 300 * 300).to_s, "AVERAGE")
puts "got #{data.length} data points from #{fstart} to #{fend}"
puts