Sha256: 3e38d2556d001e2c2f10965c20c4231b1d0c40d9f4c852a9bd90fa7925d81ee5
Contents?: true
Size: 382 Bytes
Versions: 35
Compression:
Stored size: 382 Bytes
Contents
module DataMapper module Resource class << self alias_method :included_dm, :included end def self.included(model) included_dm model if XapianDb::DocumentBlueprint.configured? model.name blueprint = XapianDb::DocumentBlueprint.blueprint_for model.name blueprint._adapter.add_class_helper_methods_to model end end end end
Version data entries
35 entries across 35 versions & 1 rubygems