Module: Arcenciel
- Defined in:
- lib/arcenciel.rb,
lib/arcenciel/manager.rb,
lib/arcenciel/version.rb,
lib/arcenciel/surfaces.rb,
lib/arcenciel/manager/hub.rb,
lib/arcenciel/surfaces/knob.rb,
lib/arcenciel/manager/device.rb,
lib/arcenciel/utility/chaser.rb,
lib/arcenciel/utility/logging.rb,
lib/arcenciel/utility/dsl_base.rb,
lib/arcenciel/surfaces/controller.rb
Defined Under Namespace
Modules: Logging, Surfaces Classes: Chaser, DSLBase, Device, Hub, Manager
Constant Summary collapse
- VERSION =
'0.0.1'
Class Method Summary collapse
-
.add(&blk) ⇒ Object
Add a new controllers.
-
.controllers ⇒ Object
Lists all controllers.
-
.logger=(logger) ⇒ Object
Set the controller lifecycle logger.
-
.run!(&blk) ⇒ Object
Run the main event loop.
Class Method Details
.add(&blk) ⇒ Object
Add a new controllers.
15 16 17 |
# File 'lib/arcenciel.rb', line 15 def self.add(&blk) controllers << Surfaces::Controller.from_dsl(&blk) end |
.controllers ⇒ Object
Lists all controllers.
10 11 12 |
# File 'lib/arcenciel.rb', line 10 def self.controllers @controllers ||= [] end |