Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Commit 4378b50

Browse files
committed
added rate to output
1 parent ad7b438 commit 4378b50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

currency/currency.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def conversion
4545
puts ''
4646
puts '================'
4747
puts "| #{base_currency} to #{convert_to}"
48+
puts "| RATE: #{convert_factor}"
4849
puts "| #{base_currency}: #{initial.format}"
4950
puts "| #{convert_to}: #{final_convert.format}"
5051
puts '================'

0 commit comments

Comments
 (0)