Class: SQA::Portfolio

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

Overview

lib/sqa/portfolio.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename = SQA::Config.portfolio_filename) ⇒ Portfolio

Returns a new instance of Portfolio.



6
7
8
9
10
# File 'lib/sqa/portfolio.rb', line 6

def initialize(
			filename = SQA::Config.portfolio_filename
		)
	@df = SQA::DataFrame.load(filename)
end

Instance Attribute Details

#dfObject

Returns the value of attribute df.



4
5
6
# File 'lib/sqa/portfolio.rb', line 4

def df
  @df
end