Module: PulseMeter::Mixins::Dumper
- Included in:
- Sensor::Base
- Defined in:
- lib/pulse-meter/mixins/dumper.rb
Overview
Mixin with dumping utilities
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- DUMP_REDIS_KEY =
Prefix for Redis keys with dumped sensors’ metadata
"pulse_meter:dump"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
80 81 82 83 |
# File 'lib/pulse-meter/mixins/dumper.rb', line 80 def self.included(base) base.send :include, InstanceMethods base.send :extend, ClassMethods end |