lib/bcdd/result/config.rb in bcdd-result-0.12.0 vs lib/bcdd/result/config.rb in bcdd-result-0.13.0

- old
+ new

@@ -7,11 +7,11 @@ require_relative 'config/switchers/features' require_relative 'config/switchers/pattern_matching' class BCDD::Result class Config - include Singleton + include ::Singleton attr_reader :addon, :feature, :constant_alias, :pattern_matching def initialize @addon = Addons.switcher @@ -19,19 +19,24 @@ @constant_alias = ConstantAliases.switcher @pattern_matching = PatternMatching.switcher @and_then_ = CallableAndThen::Config.new end + def transitions + Transitions::Config.instance + end + def and_then! @and_then_ end def freeze addon.freeze feature.freeze constant_alias.freeze pattern_matching.freeze and_then!.freeze + transitions.freeze super end def options