From 77587c1af9651c7c96b3aa3579dfed4a05df5dc6 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 9 Nov 2017 16:29:06 +0000 Subject: Fix typo --- blaunits.rb | 4 ++-- 1 file 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 -- cgit v1.2.3