Sha256: b043eddfd00db118e55ae72ec5cd03ef97dec2bda39d700cea1ac830f830debf
Contents?: true
Size: 482 Bytes
Versions: 30
Compression:
Stored size: 482 Bytes
Contents
class KlondikeSolitaire module View class HiddenPlayingCard include Glimmer::UI::CustomShape options :card_x, :card_y before_body do self.card_x ||= 0 self.card_y ||= 0 end body { rectangle(card_x, card_y, 49, 79, 15, 15) { background :red # border rectangle(0, 0, 49, 79, 15, 15) { foreground :black } } } end end end
Version data entries
30 entries across 30 versions & 1 rubygems