Sha256: 529ac01297713bafe6cedaf365e6d141ccd028352cbf0479fc9a34c0b2003702
Contents?: true
Size: 276 Bytes
Versions: 32
Compression:
Stored size: 276 Bytes
Contents
module Fiona7 class ObjClassesFromQueries def initialize(queries) @queries = queries end def obj_classes @queries.map {|q| q[:value] if q[:operator] == :equal && q[:field] == :_obj_class }.flatten.compact.uniq.presence if @queries end end end
Version data entries
32 entries across 32 versions & 1 rubygems