Class: SGS::Timing
Instance Attribute Summary collapse
-
#boot ⇒ Object
Returns the value of attribute boot.
-
#briefing ⇒ Object
Returns the value of attribute briefing.
-
#m_abort ⇒ Object
Returns the value of attribute m_abort.
-
#m_complete ⇒ Object
Returns the value of attribute m_complete.
-
#m_start ⇒ Object
Returns the value of attribute m_start.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize ⇒ Timing
constructor
A new instance of Timing.
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
#initialize ⇒ Timing
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
#boot ⇒ Object
Returns the value of attribute boot.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def boot @boot end |
#briefing ⇒ Object
Returns the value of attribute briefing.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def briefing @briefing end |
#m_abort ⇒ Object
Returns the value of attribute m_abort.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def m_abort @m_abort end |
#m_complete ⇒ Object
Returns the value of attribute m_complete.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def m_complete @m_complete end |
#m_start ⇒ Object
Returns the value of attribute m_start.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def m_start @m_start end |
#status ⇒ Object
Returns the value of attribute status.
41 42 43 |
# File 'lib/sgs/timing.rb', line 41 def status @status end |