Class: Zanders::Configuration
- Inherits:
-
Object
- Object
- Zanders::Configuration
- Defined in:
- lib/zanders.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
(also: #debug?)
Returns the value of attribute debug.
-
#ftp_directory ⇒ Object
Returns the value of attribute ftp_directory.
-
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
44 45 46 47 48 |
# File 'lib/zanders.rb', line 44 def initialize @debug ||= false @ftp_host ||= "ftp.gzanders.com" @ftp_directory ||= "Inventory/AmmoReady" end |
Instance Attribute Details
#debug ⇒ Object Also known as: debug?
Returns the value of attribute debug.
38 39 40 |
# File 'lib/zanders.rb', line 38 def debug @debug end |
#ftp_directory ⇒ Object
Returns the value of attribute ftp_directory.
40 41 42 |
# File 'lib/zanders.rb', line 40 def ftp_directory @ftp_directory end |
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
39 40 41 |
# File 'lib/zanders.rb', line 39 def ftp_host @ftp_host end |