Module: RDFMapper::Scope
- Defined in:
- lib/lib/scope/model.rb,
lib/lib/scope/query.rb,
lib/lib/scope/loader.rb,
lib/lib/scope/condition.rb,
lib/lib/scope/collection.rb
Defined Under Namespace
Modules: Model Classes: Collection, Condition, Loader, Query
Class Method Summary collapse
Class Method Details
.apply(instance, loader, index) ⇒ Object
10 11 12 13 |
# File 'lib/lib/scope/model.rb', line 10 def self.apply(instance, loader, index) instance.extend(Model) instance.send(:scoped!, loader, index) end |