Module: ConcernsOnRails::Support::SequenceCalculator

Defined in:
lib/concerns_on_rails/support/sequence_calculator.rb

Overview

Internal helpers for Models::Sequenceable: computing the next value within a scope (+ period) and formatting it. Mixed into the model's class methods, so self is the model class and unscoped / sequenceable_config resolve against it. Kept here to keep the concern itself focused on configuration.