Refactor account_number.rb