Sha256: ee2f64badd62a1f499096e4de06e0f5dd93ffa4ed50d72ee01f259493ec9373d
Contents?: true
Size: 208 Bytes
Versions: 2
Compression:
Stored size: 208 Bytes
Contents
require 'virtus' require 'vedeu/models/attributes/colour_translator' module Vedeu class Foreground < Virtus::Attribute def coerce(value) ColourTranslator.new(value).foreground end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.9 | lib/vedeu/models/attributes/foreground.rb |
vedeu-0.1.8 | lib/vedeu/models/attributes/foreground.rb |