Class: Departure::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/departure/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/departure/configuration.rb', line 5

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

Instance Attribute Details

#tmp_pathObject

Returns the value of attribute tmp_path.



3
4
5
# File 'lib/departure/configuration.rb', line 3

def tmp_path
  @tmp_path
end

Instance Method Details

#error_log_pathObject



10
11
12
# File 'lib/departure/configuration.rb', line 10

def error_log_path
  File.join(tmp_path, error_log_filename)
end