Module: VimBundle::Methods
- Included in:
- VimBundle
- Defined in:
- lib/vim_bundle/methods.rb
Instance Method Summary collapse
Instance Method Details
#commands ⇒ Object
21 22 23 |
# File 'lib/vim_bundle/methods.rb', line 21 def commands @commands ||= [] end |
#config ⇒ Object
17 18 19 |
# File 'lib/vim_bundle/methods.rb', line 17 def config @config ||= YAML.load_file(default_config_file) end |
#default_config_file ⇒ Object
13 14 15 |
# File 'lib/vim_bundle/methods.rb', line 13 def default_config_file File.join(self.vim_home, 'bundle.yml') end |
#dir ⇒ Object
9 10 11 |
# File 'lib/vim_bundle/methods.rb', line 9 def dir File.join(self.vim_home, 'bundle') end |
#vim_home ⇒ Object
5 6 7 |
# File 'lib/vim_bundle/methods.rb', line 5 def vim_home File.join(ENV['HOME'], '.vim') end |