Class: CommonCartridge::Config
- Inherits:
-
Object
- Object
- CommonCartridge::Config
- Defined in:
- lib/common_cartridge.rb
Instance Attribute Summary collapse
-
#export_directory ⇒ Object
Returns the value of attribute export_directory.
-
#import_directory ⇒ Object
Returns the value of attribute import_directory.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
25 26 27 28 |
# File 'lib/common_cartridge.rb', line 25 def initialize @import_directory = '.' @export_directory = '/tmp' end |
Instance Attribute Details
#export_directory ⇒ Object
Returns the value of attribute export_directory.
23 24 25 |
# File 'lib/common_cartridge.rb', line 23 def export_directory @export_directory end |
#import_directory ⇒ Object
Returns the value of attribute import_directory.
23 24 25 |
# File 'lib/common_cartridge.rb', line 23 def import_directory @import_directory end |