lib/zold/commands/calculate.rb in zold-0.10.12 vs lib/zold/commands/calculate.rb in zold-0.10.13
- old
+ new
@@ -61,9 +61,11 @@
return
end
calculate(opts)
end
+ private
+
def calculate(opts)
start = Time.now
mstart = Time.now
strength = opts[:strength]
raise "Invalid strength: #{strength}" if strength <= 0 || strength > 8