aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/lib/active_support/number_helper/number_converter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/number_helper/number_converter.rb b/activesupport/lib/active_support/number_helper/number_converter.rb
index 0afa08db84..157d7820c3 100644
--- a/activesupport/lib/active_support/number_helper/number_converter.rb
+++ b/activesupport/lib/active_support/number_helper/number_converter.rb
@@ -119,9 +119,9 @@ module ActiveSupport
new(number, options).execute
end
- def initialize(number, opts = {})
+ def initialize(number, options)
@number = number
- @opts = opts.symbolize_keys
+ @opts = options.symbolize_keys
end
def execute