class PrettyPrinter
Public Class Methods
print(card)
click to toggle source
# File lib/luhn_credit_card/pretty_printer.rb, line 2 def self.print(card) "#{card.type}: #{card.number} (#{card.status})" end
# File lib/luhn_credit_card/pretty_printer.rb, line 2 def self.print(card) "#{card.type}: #{card.number} (#{card.status})" end