Class: Temp1

Inherits:
Object show all
Includes:
Events
Defined in:
lib/volt/extra_core/time.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Events

#event_chain, #listeners, #on, #remove_listener, #trigger!, #trigger_by_scope!, #trigger_for_methods!

Constructor Details

#initializeTemp1

Returns a new instance of Temp1.



5
6
7
# File 'lib/volt/extra_core/time.rb', line 5

def initialize
  @seconds = ReactiveValue.new(nil)
end

Instance Attribute Details

#secondsObject

Returns the value of attribute seconds.



4
5
6
# File 'lib/volt/extra_core/time.rb', line 4

def seconds
  @seconds
end

Instance Method Details

#live_secondsObject



13
14
15
# File 'lib/volt/extra_core/time.rb', line 13

def live_seconds
  @seconds
end