diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:21:27 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:32:21 -0200 |
commit | d752ae16abd5f1e48983fc12e18f50cba1896131 (patch) | |
tree | 1e0c0a186669aba70fa635df2836e69db1bc24b7 /activesupport/lib/active_support/number_helper | |
parent | 5c04ca87d86074e84e4ff51bcf08b113f464558b (diff) | |
download | rails-d752ae16abd5f1e48983fc12e18f50cba1896131.tar.gz rails-d752ae16abd5f1e48983fc12e18f50cba1896131.tar.bz2 rails-d752ae16abd5f1e48983fc12e18f50cba1896131.zip |
Options are not optional
Diffstat (limited to 'activesupport/lib/active_support/number_helper')
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_converter.rb | 4 |
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 |