@@ -173,26 +173,26 @@ class Money
173173 # This should be deprecated.
174174 def rates : () -> untyped
175175
176- # Loads rates provided in +s + given the specified format. Available
176+ # Loads rates provided in +string + given the specified format. Available
177177 # formats are +:json+, +:ruby+ and +:yaml+.
178178 # Delegates to +Money::RatesStore::Memory+
179179 #
180- # @param [Symbol] format The format of +s +.
181- # @param [String] s The rates string.
180+ # @param [Symbol] format The format of +string +.
181+ # @param [String] string The rates string.
182182 # @param [Hash] opts Options hash to set special parameters. Backwards compatibility only.
183183 #
184184 # @return [self]
185185 #
186186 # @raise +Money::Bank::UnknownRateFormat+ if format is unknown.
187187 #
188188 # @example
189- # s = "{\"USD_TO_CAD\":1.24515,\"CAD_TO_USD\":0.803115}"
189+ # string = "{\"USD_TO_CAD\":1.24515,\"CAD_TO_USD\":0.803115}"
190190 # bank = Money::Bank::VariableExchange.new
191- # bank.import_rates(:json, s )
191+ # bank.import_rates(:json, string )
192192 #
193193 # bank.get_rate("USD", "CAD") #=> 1.24515
194194 # bank.get_rate("CAD", "USD") #=> 0.803115
195- def import_rates : (Symbol format, string s , ?::Hash[untyped , untyped ] opts) -> Money::Bank::VariableExchange
195+ def import_rates : (Symbol format, string string , ?::Hash[untyped , untyped ] opts) -> Money::Bank::VariableExchange
196196 end
197197 end
198- end
198+ end
0 commit comments