Class: Rubernate::LazyLoaderFactory
- Inherits:
-
Object
- Object
- Rubernate::LazyLoaderFactory
- Defined in:
- lib/rubernate/lazyload.rb
Overview
Factory for LazyLoader default implementation
Constant Summary collapse
- @@single_lazy_loader =
LazyLoader.new
Instance Method Summary collapse
-
#create(obj_pk, p_name) ⇒ Object
All instances of LazyLoader are similzr so only one instance is used.
Instance Method Details
#create(obj_pk, p_name) ⇒ Object
All instances of LazyLoader are similzr so only one instance is used
20 21 22 |
# File 'lib/rubernate/lazyload.rb', line 20 def create obj_pk, p_name @@single_lazy_loader end |