Sha256: 34971c4b34e03328e6ab9a2fe565ad51c1736e9838c52dcd841e9e8ba8177890
Contents?: true
Size: 422 Bytes
Versions: 13
Compression:
Stored size: 422 Bytes
Contents
module AppleNews module Component class Base include Properties optional_property :identifier optional_property :layout, nil, ComponentLayout optional_property :style, nil, Style::Component def self.role(val = nil) val.nil? ? _required_property_map[:role][:default] : required_property(:role, val) end def role self.class.role end end end end
Version data entries
13 entries across 13 versions & 1 rubygems