Class: GlimmerKlondikeSolitaire::View::EmptyPlayingCard
- Inherits:
-
Object
- Object
- GlimmerKlondikeSolitaire::View::EmptyPlayingCard
- Includes:
- Glimmer::UI::CustomShape
- Defined in:
- app/glimmer_klondike_solitaire/view/empty_playing_card.rb
Instance Method Summary collapse
Instance Method Details
#suit_text(suit) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'app/glimmer_klondike_solitaire/view/empty_playing_card.rb', line 30 def suit_text(suit) case suit when :spades "♤" when :hearts "♡" when :clubs "♧" when :diamonds "♢" end end |