Method: ProjectStore::Base#initialize

Defined in:
lib/project_store/base.rb

#initialize(path) ⇒ Base

Returns a new instance of Base.

Raises:



13
14
15
16
17
18
19
20
21
22
# File 'lib/project_store/base.rb', line 13

def initialize(path)
  raise PSE, "Invalid store path '#{path}'!" unless valid_path? path
  @logger = ProjectStore.logger
  @path = File.expand_path path
  self.continue_on_error = false
  @project_entities = {}
  @files = {}
  @entity_types = {}
  self.decorators = {}
end