Sha256: 0c814a7ffc2ee5ab6b3bf47d5875908e64e2d46eec57e15fadb2369c9ce73d50
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
module Vim module Flavor VERSION = '1.1.3' class Version < Gem::Version attr_accessor :original_tag_name def initialize(tag_name) @original_tag_name = tag_name super(self.class.normalize_tag_name(tag_name)) end def self.normalize_tag_name(tag_name) tag_name.to_s.sub(/^v/, '') end def self.correct?(tag_name) super(normalize_tag_name(tag_name)) end def to_s() @original_tag_name end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vim-flavor-1.1.3 | lib/vim-flavor/version.rb |