Sha256: 5b166f7db1727cd85d86489e0fdbcb2b92c1998aba4c54389e3f3a7a6f0b3235

Contents?: true

Size: 486 Bytes

Versions: 32

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Commands
    module ConfigurationOverridable
      # Create a full Bridgetown configuration with the options passed in as overrides
      #
      # options - the configuration overrides
      #
      # Returns a full Bridgetown configuration
      def configuration_with_overrides(options)
        return options if options.is_a?(Bridgetown::Configuration)

        Bridgetown.configuration(options)
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
bridgetown-core-0.21.5 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.4 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.3 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.2 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.1 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.0 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.20.0 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.19.3 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.19.2 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.19.1 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.19.0 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.18.6 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.18.5 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.18.4 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.18.3 lib/bridgetown-core/commands/concerns/configuration_overridable.rb
bridgetown-core-0.18.2 lib/bridgetown-core/commands/concerns/configuration_overridable.rb