summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2017-11-09 16:29:06 +0000
committerJoe Robinson <joe@lc8n.com>2017-11-09 16:29:06 +0000
commit77587c1af9651c7c96b3aa3579dfed4a05df5dc6 (patch)
tree8286d51a993c043073342d353773a85e70c880c8
parentc14a69a25c000182d5aff0ce50f52fe824c7ae8b (diff)
Fix typo
-rwxr-xr-xblaunits.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/blaunits.rb b/blaunits.rb
index a9a4f56..5aef90c 100755
--- a/blaunits.rb
+++ b/blaunits.rb
@@ -3,7 +3,7 @@
require 'net/http'
require 'json'
-VERSION = "2.2.0"
+VERSION = "2.2.1"
BINARY_NAME = "units"
begin
@@ -87,7 +87,7 @@ begin
if from.upcase == "F" && to.upcase == "C"
temp = (num - 32) / 1.8
puts "#{num} F = #{temp} C"
- elsif from/upcase == "C" && to.upcase == "F"
+ elsif from.upcase == "C" && to.upcase == "F"
temp = (num * 1.8) + 32
puts "#{num} C = #{temp} F"
else