module DataMapper::Resource
Public Class Methods
included(model)
click to toggle source
# File lib/xapian_db/model_extenders/datamapper.rb 8 def self.included(model) 9 included_dm model 10 if XapianDb::DocumentBlueprint.configured? model.name 11 blueprint = XapianDb::DocumentBlueprint.blueprint_for model.name 12 blueprint._adapter.add_class_helper_methods_to model 13 end 14 end
Also aliased as: included_dm