Class: Sidtool::State
- Inherits:
-
Object
- Object
- Sidtool::State
- Defined in:
- lib/sidtool/state.rb
Instance Attribute Summary collapse
-
#current_frame ⇒ Object
Returns the value of attribute current_frame.
-
#synths ⇒ Object
Returns the value of attribute synths.
Instance Method Summary collapse
-
#initialize ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize ⇒ State
6 7 8 9 |
# File 'lib/sidtool/state.rb', line 6 def initialize @current_frame = 0 @synths = [] end |
Instance Attribute Details
#current_frame ⇒ Object
Returns the value of attribute current_frame.
3 4 5 |
# File 'lib/sidtool/state.rb', line 3 def current_frame @current_frame end |
#synths ⇒ Object
Returns the value of attribute synths.
4 5 6 |
# File 'lib/sidtool/state.rb', line 4 def synths @synths end |