class Faker::Bank
def account_number(legacy_digits = NOT_GIVEN, digits: 10)
def account_number(legacy_digits = NOT_GIVEN, digits: 10) warn_for_deprecated_arguments do |keywords| keywords << :digits if legacy_digits != NOT_GIVEN end output = '' output += rand.to_s[2..-1] while output.length < digits output[0...digits] end