lib/active_merchant/billing/credit_card_methods.rb
# Returns true if it validates. Optionally, you can pass a card brand as an argument and
# make sure it is of the correct brand.
#
# References:
# - http://perl.about.com/compute/perl/library/nosearch/P073000.htm
# - http://www.beachnet.com/~hstiles/cardtype.html
Returns true if it validates. Optionally, you can pass a card brand as an argument and
make sure it is of the correct brand.


Returns true if it validates . Optionally you can pass a card brand as an argument and make sure it is of the correct brand .
def valid_card_number_length?(number) 
          return false if number.nil?
          number.length >= 12
        end
def valid_card_number_length? ( number ) return false if number . nil? number . length >= 12 end
Returns true if it validates.
Returns true if it validates .
#:nodoc:
number
<not_specific>