Class: TestCentricity::DataSource
- Defined in:
- lib/testcentricity_web/data_objects_helper.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#current ⇒ Object
Returns the value of attribute current.
Instance Method Summary collapse
Instance Attribute Details
#current ⇒ Object
Returns the value of attribute current.
29 30 31 |
# File 'lib/testcentricity_web/data_objects_helper.rb', line 29 def current @current end |
Instance Method Details
#read_yaml_node_data(file_name, node_name) ⇒ Object
31 32 33 34 |
# File 'lib/testcentricity_web/data_objects_helper.rb', line 31 def read_yaml_node_data(file_name, node_name) data = YAML.load_file("#{XL_PRIMARY_DATA_PATH}#{file_name}") data[node_name] end |