Module: Tester::Log

Defined in:
lib/tester/log.rb

Class Method Summary collapse

Class Method Details

.[](hash) ⇒ Object



9
10
11
# File 'lib/tester/log.rb', line 9

def [](hash)
  KVS[hash]
end

.[]=(hash, result) ⇒ Object



4
5
6
7
# File 'lib/tester/log.rb', line 4

def []=(hash, result)
  KVS['logs'] = logs << hash
  KVS[hash] = result
end

.logsObject



13
14
15
# File 'lib/tester/log.rb', line 13

def logs
  KVS['logs'] || []
end