Sha256: 7a525662a197bbe16e2cb8505e49dfb5e6c6ea764f1ff3e8f53ad3321c28e8b0
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
module RecordFilter module DSL class DSLFactory # :nodoc: all SUBCLASSES = Hash.new do |h, k| h[k] = Class.new(RecordFilter::DSL::DSL) end class << self def create(clazz) subclass(clazz).new(clazz, Conjunction.new(clazz, :all_of)) end def subclass(clazz) SUBCLASSES[clazz.object_id] end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems