Class: Project

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name, path) ⇒ Project

Returns a new instance of Project.



4
5
6
7
8
# File 'lib/project.rb', line 4

def initialize(id, name, path)
	@id = id
	@name = name
	@path = path
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



2
3
4
# File 'lib/project.rb', line 2

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/project.rb', line 2

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



2
3
4
# File 'lib/project.rb', line 2

def path
  @path
end