Class: Packages::Policies::Project
- Inherits:
-
Object
- Object
- Packages::Policies::Project
- Defined in:
- app/models/packages/policies/project.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize(project) ⇒ Project
constructor
A new instance of Project.
Constructor Details
#initialize(project) ⇒ Project
Returns a new instance of Project.
10 11 12 |
# File 'app/models/packages/policies/project.rb', line 10 def initialize(project) @project = project end |
Instance Attribute Details
#project ⇒ Object
Returns the value of attribute project.
6 7 8 |
# File 'app/models/packages/policies/project.rb', line 6 def project @project end |