# File lib/currencies/exchange_bank.rb, line 14 def add_rate(from, to, rate) @mutex.synchronize do @rates["#{from}_TO_#{to}".upcase] = rate end end