Sha256: 3cb262c55142b34cd8e7f9b76b7d794172235ea0a00a79ac6acba721647451bb

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

class Version
  def self.list
    Dir.chdir(get_vimorg_dir) do
      list = `hg tags`.split.reverse
      return list.values_at(* list.each_index.select { |i| i.odd? })
    end
  end

  def self.versions
    output = []
    Dir.glob(File.join(get_vims_dir, 'v*')).sort.each do |d|
      output << File.basename(d)
    end
    return output
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vvm-rb-0.0.12 lib/vvm-rb/version.rb
vvm-rb-0.0.11 lib/vvm-rb/version.rb
vvm-rb-0.0.10 lib/vvm-rb/version.rb
vvm-rb-0.0.9 lib/vvm-rb/version.rb