lib/rambling/trie/configuration/provider_collection.rb in rambling-trie-1.0.3 vs lib/rambling/trie/configuration/provider_collection.rb in rambling-trie-2.0.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Rambling module Trie module Configuration # Collection of configurable providers. class ProviderCollection @@ -42,10 +44,11 @@ providers[extension] = provider end def default= provider unless contains? provider - raise ArgumentError, "default #{name} should be part of configured #{name}s" + raise ArgumentError, + "default #{name} should be part of configured #{name}s" end @default = provider end