Class: Vim::Flavor::Env

Inherits:
Object
  • Object
show all
Defined in:
lib/vim-flavor/env.rb

Class Method Summary collapse

Class Method Details

.github_uri_prefixObject



11
12
13
14
15
# File 'lib/vim-flavor/env.rb', line 11

def github_uri_prefix
  @github_uri_prefix ||=
    ENV['VIM_FLAVOR_GITHUB_URI_PREFIX'] ||
    'git://github.com/'
end

.github_uri_suffixObject



17
18
19
20
21
# File 'lib/vim-flavor/env.rb', line 17

def github_uri_suffix
  @github_uri_suffix ||=
    ENV['VIM_FLAVOR_GITHUB_URI_SUFFIX'] ||
    '.git'
end

.homeObject



5
6
7
8
9
# File 'lib/vim-flavor/env.rb', line 5

def home
  @home ||=
    ENV['VIM_FLAVOR_HOME'] ||
    ENV['HOME']
end