We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d3c23 commit 330a5faCopy full SHA for 330a5fa
lib/incremate.rb
@@ -30,6 +30,11 @@
30
31
# Incrementaly accumulates data into a fact, using Ruby scripts
32
# found in the directory provided, by the prefix.
33
+#
34
+# @param [Factbase::Fact] fact The fact to put data into (some data already there)
35
+# @param [String] dir Where to find Ruby scripts
36
+# @param [String] prefix The prefix to use for scripts (e.g. "total")
37
+# @return nil
38
def Jp.incremate(fact, dir, prefix)
39
if Time.now - $start > 15 * 60
40
$loog.info('We are busy for too long already, won\'t run incremate')
0 commit comments