Class: TestCentricity::DataObject

Inherits:
Object
  • Object
show all
Defined in:
lib/testcentricity_apps/data_objects/data_objects_helper.rb

Direct Known Subclasses

Environ

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ DataObject

Returns a new instance of DataObject.



20
21
22
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 20

def initialize(data)
  @hash_table = data
end

Instance Attribute Details

#contextObject

Returns the value of attribute context.



18
19
20
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 18

def context
  @context
end

#currentObject

Returns the value of attribute current.



18
19
20
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 18

def current
  @current
end

#hash_tableObject

Returns the value of attribute hash_table.



18
19
20
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 18

def hash_table
  @hash_table
end

Class Method Details

.currentObject



24
25
26
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 24

def self.current
  @current
end

.current=(current) ⇒ Object



28
29
30
# File 'lib/testcentricity_apps/data_objects/data_objects_helper.rb', line 28

def self.current=(current)
  @current = current
end