Class: LiveScene
- Inherits:
-
Object
- Object
- LiveScene
- Defined in:
- lib/live_set/live_set_scene.rb
Instance Method Summary collapse
-
#initialize(live_scene) ⇒ LiveScene
constructor
A new instance of LiveScene.
Constructor Details
#initialize(live_scene) ⇒ LiveScene
Returns a new instance of LiveScene.
3 4 5 6 7 8 |
# File 'lib/live_set/live_set_scene.rb', line 3 def initialize(live_scene) @live_scene = live_scene @id = @live_scene['Id'] @name = @live_scene.Name['Value'] @tempo = @live_scene.Tempo['Value'] if @live_scene.IsTempoEnabled['Value'].to_bool end |