Class: Project
- Inherits:
-
Object
- Object
- Project
- Defined in:
- lib/perfecto-reporting/model/Project.rb
Overview
Project
Tests can be filtered by project they belong to.
Usage: Project.new projectName, projectVersion
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name, version) ⇒ Project
constructor
initialize new project instance.
Constructor Details
#initialize(name, version) ⇒ Project
initialize new project instance
name - the new project’s name version - the project’s version
15 16 17 18 |
# File 'lib/perfecto-reporting/model/Project.rb', line 15 def initialize name, version @name = name @version = version end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/perfecto-reporting/model/Project.rb', line 9 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
9 10 11 |
# File 'lib/perfecto-reporting/model/Project.rb', line 9 def version @version end |