Class: Arcenciel::Surfaces::Knob::Context
- Inherits:
-
Object
- Object
- Arcenciel::Surfaces::Knob::Context
- Defined in:
- lib/arcenciel/surfaces.rb
Instance Method Summary collapse
-
#initialize(knob) ⇒ Context
constructor
A new instance of Context.
-
#name ⇒ Object
Returns the name of this logical knob (encoder).
-
#value ⇒ Object
Returns the value of this knob.
Constructor Details
#initialize(knob) ⇒ Context
Returns a new instance of Context.
90 91 92 |
# File 'lib/arcenciel/surfaces.rb', line 90 def initialize(knob) @knob = knob end |
Instance Method Details
#name ⇒ Object
Returns the name of this logical knob (encoder).
95 96 97 |
# File 'lib/arcenciel/surfaces.rb', line 95 def name @knob.name end |
#value ⇒ Object
Returns the value of this knob.
100 101 102 |
# File 'lib/arcenciel/surfaces.rb', line 100 def value @knob.typed_value end |