Module: Skylight::Core::Instrumentable
- Defined in:
- lib/skylight/core/instrumentable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/skylight/core/instrumentable.rb', line 4 def self.included(base) base.extend(Util::Logging) base.extend(ClassMethods) base.const_set(:LOCK, Mutex.new) base.class_eval do at_exit { stop! } end Skylight::Core::Fanout.register(base) end |