lib/cryptum.rb in cryptum-0.0.303 vs lib/cryptum.rb in cryptum-0.0.304

- old
+ new

@@ -135,9 +135,11 @@ is_negative = true if whole_num.chars.first == '-' whole_num = whole_num[1..] if is_negative beautify_whole = whole_num.reverse.scan(/.{1,3}/).join(',').reverse beautify_num = "#{beautify_whole}.#{fraction}" unless is_negative beautify_num = "-#{beautify_whole}.#{fraction}" if is_negative + + beautify_num rescue Interrupt # Exit Gracefully if CTRL+C is Pressed During Session Cryptum.exit_gracefully(which_self: self) rescue StandardError => e # Produce a Stacktrace for anything else