Class: LocalModel::Configuration
- Inherits:
-
Object
- Object
- LocalModel::Configuration
- Defined in:
- lib/local_model.rb
Instance Attribute Summary collapse
-
#cleanup_on_start ⇒ Object
Returns the value of attribute cleanup_on_start.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
67 68 69 70 71 |
# File 'lib/local_model.rb', line 67 def initialize @path = "#{Dir.pwd}/tmp" @cleanup_on_start = false @namespace = nil end |
Instance Attribute Details
#cleanup_on_start ⇒ Object
Returns the value of attribute cleanup_on_start.
65 66 67 |
# File 'lib/local_model.rb', line 65 def cleanup_on_start @cleanup_on_start end |
#namespace ⇒ Object
Returns the value of attribute namespace.
65 66 67 |
# File 'lib/local_model.rb', line 65 def namespace @namespace end |
#path ⇒ Object
Returns the value of attribute path.
65 66 67 |
# File 'lib/local_model.rb', line 65 def path @path end |