Class: VimGet::Application
- Inherits:
-
Object
- Object
- VimGet::Application
- Defined in:
- lib/vimget.rb
Overview
VimGet application class
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Application
Returns a new instance of Application.
33 34 35 36 |
# File 'lib/vimget.rb', line 33 def initialize vimget_path = File.(VimGet.configure.base_dir) FileUtils.mkdir_p vimget_path if not File.exist? vimget_path end |
Instance Method Details
#run ⇒ Object
38 39 40 |
# File 'lib/vimget.rb', line 38 def run CommandManager.instance.run(ARGV) end |