Class: Preloaders::SingleHierarchyProjectGroupPlansPreloader
- Inherits:
-
Object
- Object
- Preloaders::SingleHierarchyProjectGroupPlansPreloader
- Defined in:
- app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb
Instance Attribute Summary collapse
-
#projects ⇒ Object
readonly
Returns the value of attribute projects.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(projects_relation) ⇒ SingleHierarchyProjectGroupPlansPreloader
constructor
A new instance of SingleHierarchyProjectGroupPlansPreloader.
Constructor Details
#initialize(projects_relation) ⇒ SingleHierarchyProjectGroupPlansPreloader
Returns a new instance of SingleHierarchyProjectGroupPlansPreloader.
7 8 9 |
# File 'app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb', line 7 def initialize(projects_relation) @projects = projects_relation end |
Instance Attribute Details
#projects ⇒ Object (readonly)
Returns the value of attribute projects.
5 6 7 |
# File 'app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb', line 5 def projects @projects end |
Instance Method Details
#execute ⇒ Object
11 12 13 |
# File 'app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb', line 11 def execute # no-op in FOSS end |