Sha256: 60ee093ac89a92d8402adb4e635fc7ddf89f3fcfd0297d1b6df608894cfb1993
Contents?: true
Size: 327 Bytes
Versions: 3
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true class Scarpe module Background def self.included(includer) includer.display_property(:background_color) end # NOTE: this needs to be passed through in order for the styling to work def background(color, options = {}) self.background_color = color end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
lacci-0.2.1 | lib/scarpe/background.rb |
scarpe-0.2.1 | lib/scarpe/background.rb |
scarpe-0.2.0 | lib/scarpe/background.rb |