Class: TestCentricity::EnvironData
- Inherits:
-
DataSource
- Object
- DataSource
- TestCentricity::EnvironData
- Defined in:
- lib/testcentricity_web/environment.rb
Instance Attribute Summary collapse
-
#current ⇒ Object
Returns the value of attribute current.
Instance Method Summary collapse
Methods inherited from DataSource
#pick_excel_data_source, #read_excel_pool_data, #read_excel_range_data, #read_excel_row_data
Instance Attribute Details
#current ⇒ Object
Returns the value of attribute current.
3 4 5 |
# File 'lib/testcentricity_web/environment.rb', line 3 def current @current end |
Instance Method Details
#find_environ(row_name) ⇒ Object
7 8 9 10 |
# File 'lib/testcentricity_web/environment.rb', line 7 def find_environ(row_name) @current = Environ.new(ExcelData.read_row_data(XL_PRIMARY_DATA_FILE, WKS_ENVIRONS, row_name)) Environ.set_current(@current) end |