Sha256: 2dfe1e7b62950d813be3c0f15e254b7dcba8ced168c5b55867a46f492b0afeb6

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module Departure
  class Configuration
    attr_accessor :tmp_path

    def initialize
      @tmp_path = '.'.freeze
      @error_log_filename = 'departure_error.log'.freeze
    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 & 1 rubygems

Version Path
departure-1.0.1 lib/departure/configuration.rb
departure-1.0.0 lib/departure/configuration.rb