Class: Packages::Policies::Project

Inherits:
Object
  • Object
show all
Defined in:
app/models/packages/policies/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#projectObject

Returns the value of attribute project.



6
7
8
# File 'app/models/packages/policies/project.rb', line 6

def project
  @project
end