Sha256: fcbeb98e16e165b8dbcfbd257dd2750b34abbe215a59e49cb8acfe6a5924cfce
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
module Shoppr class Feature attr_accessor :values def initialize(cat_mash) Shoppr.map_mash_attrs(self, cat_mash) if self.value.is_a?(Array) @values = self.value.map {|value| value } else @values = [self.value] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoppr-0.2.3 | lib/shoppr/feature.rb |