Class: Consumer::Controls::PositionStore::Example
- Inherits:
-
Object
- Object
- Consumer::Controls::PositionStore::Example
- Includes:
- PositionStore
- Defined in:
- lib/consumer/controls/position_store.rb
Instance Attribute Summary collapse
-
#telemetry_sink ⇒ Object
Returns the value of attribute telemetry_sink.
Instance Method Summary collapse
Methods included from PositionStore
Instance Attribute Details
#telemetry_sink ⇒ Object
Returns the value of attribute telemetry_sink.
13 14 15 |
# File 'lib/consumer/controls/position_store.rb', line 13 def telemetry_sink @telemetry_sink end |
Instance Method Details
#configure ⇒ Object
15 16 17 18 19 |
# File 'lib/consumer/controls/position_store.rb', line 15 def configure self.telemetry_sink = ::Consumer::PositionStore::Telemetry::Sink.new telemetry.register telemetry_sink end |
#get ⇒ Object
21 22 23 |
# File 'lib/consumer/controls/position_store.rb', line 21 def get Position::Global.example end |
#put(_) ⇒ Object
25 26 |
# File 'lib/consumer/controls/position_store.rb', line 25 def put(_) end |