2 3 4 5 6 7 8
# File 'lib/playing_cards/card_constant.rb', line 2 def const_missing name if card = Card.parse(name) return card else Card end end