Sha256: c8e843971f3f0a2004efe2590000580052ce083cc57251a901c5da428baade05

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

module Departure
  class Configuration
    attr_accessor :tmp_path, :global_percona_args, :enabled_by_default

    def initialize
      @tmp_path = '.'.freeze
      @error_log_filename = 'departure_error.log'.freeze
      @global_percona_args = nil
      @enabled_by_default = true
    end

    def error_log_path
      File.join(tmp_path, error_log_filename)
    end

    private

    attr_reader :error_log_filename
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
departure-6.3.0 lib/departure/configuration.rb
departure-76c9880-6.2.0 lib/departure/configuration.rb