diff options
-rwxr-xr-x | blaunits.rb | 4 |
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 |