Sha256: f3fdaa90234900abb85fac1ddc4eaf08cf08136f4b65a2a15d92da33a092881f
Contents?: true
Size: 312 Bytes
Versions: 4
Compression:
Stored size: 312 Bytes
Contents
module Casino class Dimension attr_accessor :label, :field, :queries, :approach def initialize(label, field, queries, approach = Hash.new) self.label = label self.field = field self.queries = queries self.approach = { operator: :where }.merge(approach) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mongoid-casino-0.0.4 | lib/casino/dimension.rb |
mongoid-casino-0.0.3 | lib/casino/dimension.rb |
mongoid-casino-0.0.2 | lib/casino/dimension.rb |
mongoid-casino-0.0.1 | lib/casino/dimension.rb |