Sha256: 6bbb1e259d5b0ff23373d0d08b18aa519c9a1cc53360fed29716a404d5bd0273
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
# frozen_string_literal: true class BCDD::Result module Transitions module Tracking require_relative 'tracking/enabled' require_relative 'tracking/disabled' VERSION = 1 EMPTY_ARRAY = [].freeze EMPTY_HASH = {}.freeze EMPTY_TREE = Tree.new(nil).freeze EMPTY = { version: VERSION, records: EMPTY_ARRAY, metadata: { duration: 0, ids_tree: EMPTY_ARRAY, ids_matrix: EMPTY_HASH, trace_id: nil }.freeze }.freeze def self.instance ::BCDD::Result::Config.instance.feature.enabled?(:transitions) ? Tracking::Enabled.new : Tracking::Disabled end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bcdd-result-0.13.0 | lib/bcdd/result/transitions/tracking.rb |