Class: VimGet::Application

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

Overview


VimGet application class

Instance Method Summary collapse

Constructor Details

#initializeApplication

Returns a new instance of Application.



33
34
35
36
# File 'lib/vimget.rb', line 33

def initialize
  vimget_path = File.expand_path(VimGet.configure.base_dir)
  FileUtils.mkdir_p vimget_path if not File.exist? vimget_path
end

Instance Method Details

#runObject



38
39
40
# File 'lib/vimget.rb', line 38

def run
  CommandManager.instance.run(ARGV)
end