Class: Preloaders::SingleHierarchyProjectGroupPlansPreloader

Inherits:
Object
  • Object
show all
Defined in:
app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#projectsObject (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

#executeObject



11
12
13
# File 'app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb', line 11

def execute
  # no-op in FOSS
end