Sha256: 65f750438626b0151893c8578a5d8d012d1ca10f950308b6abe4c3d8a04d8deb
Contents?: true
Size: 343 Bytes
Versions: 25
Compression:
Stored size: 343 Bytes
Contents
module Elastics module ModelSyncer def self.included(base) base.class_eval do @elastics ||= ClassProxy::Base.new(base) @elastics.extend(ClassProxy::ModelSyncer) def self.elastics; @elastics end end end def elastics @elastics ||= InstanceProxy::ModelSyncer.new(self) end end end
Version data entries
25 entries across 25 versions & 1 rubygems