Sha256: 8e05b3ef9e67fe1f93cbe43f1cf93d6b4dc30d6524a891d45d9b0f3e57662dc9

Contents?: true

Size: 374 Bytes

Versions: 10

Compression:

Stored size: 374 Bytes

Contents

module Departure
  class Configuration
    attr_accessor :tmp_path, :global_percona_args

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

    def error_log_path
      File.join(tmp_path, error_log_filename)
    end

    private

    attr_reader :error_log_filename
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
departure-6.2.0 lib/departure/configuration.rb
departure-6.1.0 lib/departure/configuration.rb
departure-6.0.0 lib/departure/configuration.rb
departure-5.0.0 lib/departure/configuration.rb
departure-4.0.1 lib/departure/configuration.rb
departure-4.0.0 lib/departure/configuration.rb
departure-2.0.1 lib/departure/configuration.rb
departure-3.0.1 lib/departure/configuration.rb
departure-3.0.0 lib/departure/configuration.rb
departure-2.0.0 lib/departure/configuration.rb