index 963344711b9419d32497acb55ad351340bf4a567..c1c246e6030353d320cbbec1342444dea5c08e91 100644 (file)
--- a/program/doc/rrdruby.pod
+++ b/program/doc/rrdruby.pod
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
puts
If you use the B<--ruby-site-install> configure option you can drop the $:
-line since the rrdtool module will be found automatically.
+line since the RRDtool module will be found automatically.
-If rrdtool runs into trouble, it will throw an exception which you might
+If RRDtool runs into trouble, it will throw an exception which you might
want to catch.
=head1 SEE ALSO