Class: Soul::Solution

Inherits:
Object
  • Object
show all
Defined in:
lib/soul/solution.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSolution

Returns a new instance of Solution.



5
6
7
# File 'lib/soul/solution.rb', line 5

def initialize  
  @projects = []
end

Instance Attribute Details

#projectsObject

Returns the value of attribute projects.



3
4
5
# File 'lib/soul/solution.rb', line 3

def projects
  @projects
end

Instance Method Details

#add_project(project) ⇒ Object



9
10
11
# File 'lib/soul/solution.rb', line 9

def add_project(project)
  @projects << project
end