Sha256: aad75dc6a9f59eed1cc1f2d2480d8f1f140687c07411939a9d3b03722872c970
Contents?: true
Size: 305 Bytes
Versions: 7
Compression:
Stored size: 305 Bytes
Contents
class StyleStats::Css class Declaration attr_accessor :property, :value, :important def initialize(property, value) self.important = !!value.match(/!important/) self.property = property self.value = value.gsub("!important", '').strip.force_encoding("utf-8") end end end
Version data entries
7 entries across 7 versions & 1 rubygems