Sha256: 903bf5e9ccd388c2fab684a00627f18839a2908fe7d957980299822c33b0538a
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module Vimmer module Installers extend self autoload :Github, 'vimmer/installers/github' autoload :VimDotOrg, 'vimmer/installers/vim_dot_org' def for_url(url) if Github.match?(url) Github elsif VimDotOrg.match?(url) VimDotOrg.for_url(url) else raise Vimmer::InstallerNotFoundError.new(url) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vimmer-0.2.0 | lib/vimmer/installers.rb |