Class: Daylite::Organization
- Inherits:
-
Base
show all
- Defined in:
- app/models/daylite/organization.rb
Instance Method Summary
collapse
Methods inherited from Base
#method_missing, #readonly?
openbase_connection
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Daylite::Base
Instance Method Details
#all_tasks ⇒ Object
14
15
16
|
# File 'app/models/daylite/organization.rb', line 14
def all_tasks
projects_tasks + tasks
end
|
#projects_tasks ⇒ Object
10
11
12
|
# File 'app/models/daylite/organization.rb', line 10
def projects_tasks
projects.collect { |p| p.tasks }.flatten
end
|