Class: Zanders::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



44
45
46
47
48
49
# File 'lib/zanders.rb', line 44

def initialize
  @debug_mode    ||= false
  @file_encoding ||= 'Windows-1252'
  @ftp_host      ||= 'ftp2.gzanders.com'
  @ftp_directory ||= 'Inventory/AmmoReady'
end

Instance Attribute Details

#debug_modeObject Also known as: debug_mode?

Returns the value of attribute debug_mode.



37
38
39
# File 'lib/zanders.rb', line 37

def debug_mode
  @debug_mode
end

#file_encodingObject

Returns the value of attribute file_encoding.



38
39
40
# File 'lib/zanders.rb', line 38

def file_encoding
  @file_encoding
end

#ftp_directoryObject

Returns the value of attribute ftp_directory.



40
41
42
# File 'lib/zanders.rb', line 40

def ftp_directory
  @ftp_directory
end

#ftp_hostObject

Returns the value of attribute ftp_host.



39
40
41
# File 'lib/zanders.rb', line 39

def ftp_host
  @ftp_host
end