Class: Vigilem::Core::Device
- Inherits:
-
AbstractDevice
- Object
- Support::LazySimpleDelegator
- AbstractDevice
- Vigilem::Core::Device
- Defined in:
- lib/vigilem/core/device.rb
Overview
TODO:
more configurable facade so not all methods from underlying object get through
hooks for loading the pipeline errors when no :system_check has passed
Class Method Summary collapse
Methods inherited from AbstractDevice
#available?, #import, inherited, #run_system_checks, #setting?, #settings
Methods included from Hooks
Methods included from Hooks::Inheritable
Methods included from Adapters::Adapter
#affix, #attach, #initialize_adapter
Methods included from LockablePipelineComponent
#semaphore, #semaphore!, #synchronize
Methods included from Adapters::BasicAdapter
#initialize_basic_adapter, #source
Class Method Details
.new(*args, &config) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/vigilem/core/device.rb', line 20 def self.new(*args, &config) if block_given? (ret = Class.new(self)).instance_eval(&config) ret else super(*args) end end |