Class: TestCentricity::DataObject

Inherits:
Object
  • Object
show all
Defined in:
lib/testcentricity_web/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.



7
8
9
# File 'lib/testcentricity_web/data_objects_helper.rb', line 7

def initialize(data)
  @hash_table = data
end

Instance Attribute Details

#contextObject

Returns the value of attribute context.



4
5
6
# File 'lib/testcentricity_web/data_objects_helper.rb', line 4

def context
  @context
end

#currentObject

Returns the value of attribute current.



3
4
5
# File 'lib/testcentricity_web/data_objects_helper.rb', line 3

def current
  @current
end

#hash_tableObject

Returns the value of attribute hash_table.



5
6
7
# File 'lib/testcentricity_web/data_objects_helper.rb', line 5

def hash_table
  @hash_table
end

Class Method Details

.currentObject



15
16
17
# File 'lib/testcentricity_web/data_objects_helper.rb', line 15

def self.current
  @current
end

.set_current(current) ⇒ Object



11
12
13
# File 'lib/testcentricity_web/data_objects_helper.rb', line 11

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