Class: SGS::Timing

Inherits:
RedisBase show all
Defined in:
lib/sgs/timing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RedisBase

#count, #count_name, #load, load, #make_redis_name, #publish, redis, redis_handle, #redis_read_var, #save, #save_and_publish, setup, subscribe, to_redis, var_init

Constructor Details

#initializeTiming

Returns a new instance of Timing.



43
44
45
46
47
48
49
50
51
# File 'lib/sgs/timing.rb', line 43

def initialize
  @status = nil
  @boot = Time.at(0)
  @briefing = nil
  @m_start = nil
  @m_abort = nil
  @m_complete = nil
  super
end

Instance Attribute Details

#bootObject

Returns the value of attribute boot.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def boot
  @boot
end

#briefingObject

Returns the value of attribute briefing.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def briefing
  @briefing
end

#m_abortObject

Returns the value of attribute m_abort.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def m_abort
  @m_abort
end

#m_completeObject

Returns the value of attribute m_complete.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def m_complete
  @m_complete
end

#m_startObject

Returns the value of attribute m_start.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def m_start
  @m_start
end

#statusObject

Returns the value of attribute status.



41
42
43
# File 'lib/sgs/timing.rb', line 41

def status
  @status
end