Module: Familia::Features::Quantization

Extended by:
ClassMethods
Defined in:
lib/familia/features/quantization.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



43
44
45
46
# File 'lib/familia/features/quantization.rb', line 43

def self.included base
  Familia.ld "[#{base}] Loaded #{self}"
  base.extend ClassMethods
end

Instance Method Details

#qstamp(quantum = nil, pattern: nil, time: nil) ⇒ Object



48
49
50
# File 'lib/familia/features/quantization.rb', line 48

def qstamp(quantum = nil, pattern: nil, time: nil)
  self.class.qstamp(quantum || self.class.ttl, pattern: pattern, time: time)
end