Class: Project

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/perfecto-reporting/model/Project.rb', line 9

def name
  @name
end

#versionObject

Returns the value of attribute version.



9
10
11
# File 'lib/perfecto-reporting/model/Project.rb', line 9

def version
  @version
end