Class: LocalModel::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_startObject

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

#namespaceObject

Returns the value of attribute namespace.



65
66
67
# File 'lib/local_model.rb', line 65

def namespace
  @namespace
end

#pathObject

Returns the value of attribute path.



65
66
67
# File 'lib/local_model.rb', line 65

def path
  @path
end