From 8151031373c08ccd714a99f50783eafcb54d2010 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 10 Jun 2015 14:48:34 +0200 Subject: undo unfortunate variable naming: cfg -> conf! --- stddev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stddev') diff --git a/stddev b/stddev index a7397b2..2634f63 100755 --- a/stddev +++ b/stddev @@ -2,7 +2,7 @@ require 'trollop' -cfg = Trollop::options do +conf = Trollop::options do banner "stddev [-r ] < " opt :round, "Number of digits after decimal point.", :type => :int, :default => -1 end @@ -26,8 +26,8 @@ cached.each { |v| stddev = Math.sqrt(var/i.to_f) -if cfg[:round] >= 0 - puts stddev.round cfg[:round] +if conf[:round] >= 0 + puts stddev.round conf[:round] else puts stddev end -- cgit v1.2.3