Sha256: 7c1a8750418b3875cf17ca6c93afb3e10e8cf4bf47380ca8a052d5a7117f67d4
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true class Shoes module Common class ArtElement < UIElement include Common::Clickable include Common::Fill include Common::Rotate include Common::Stroke include Common::Translate def self.inherited(child) # Hover's inclusion generates a styling class per child class. # We need to include it at inheritance time to get that behavior. child.include Common::Hover end def painted? true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.rc1 | lib/shoes/common/art_element.rb |