Sha256: da8eda125743c61d6208f219f7a32f1b24779c0ace1c36f63465edb2b99ada5a

Contents?: true

Size: 508 Bytes

Versions: 3

Compression:

Stored size: 508 Bytes

Contents

module Vim
  module Flavor
    class Env
      class << self
        def home
          @home ||=
            ENV['VIM_FLAVOR_HOME'] ||
            ENV['HOME']
        end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vim-flavor-4.0.3 lib/vim-flavor/env.rb
vim-flavor-4.0.2 lib/vim-flavor/env.rb
vim-flavor-4.0.1 lib/vim-flavor/env.rb