Permalink
Browse files

Options are not optional

  • Loading branch information...
1 parent 5c04ca8 commit d752ae16abd5f1e48983fc12e18f50cba1896131 @rafaelfranca rafaelfranca committed Dec 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/number_helper/number_converter.rb
@@ -119,9 +119,9 @@ def self.convert(number, options)
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

0 comments on commit d752ae1

Please sign in to comment.