Method: WIP::CLI::Base#initialize

Defined in:
lib/wip/cli/base.rb

#initialize(path) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/wip/cli/base.rb', line 6

def initialize(path)
  @path   = path
  @config = File.exist?(index_file) ? YAML.load_file(index_file) : {}
end