Class: TotenDev::Project
- Inherits:
-
Object
- Object
- TotenDev::Project
- Defined in:
- lib/tdev_metrics/project.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(id = nil, title = nil) ⇒ Project
constructor
A new instance of Project.
Constructor Details
#initialize(id = nil, title = nil) ⇒ Project
Returns a new instance of Project.
10 11 12 13 |
# File 'lib/tdev_metrics/project.rb', line 10 def initialize( id = nil, title = nil ) @id = id @title = title end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/tdev_metrics/project.rb', line 8 def id @id end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/tdev_metrics/project.rb', line 8 def title @title end |