Sha256: 712be425d80587f9885cabc9e3bc0f80c3d39a2e20f94d4344b588d4b210ff6a
Contents?: true
Size: 540 Bytes
Versions: 11
Compression:
Stored size: 540 Bytes
Contents
module Vim module Flavor class PlainVersion < 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 def to_revision() to_s end end end end
Version data entries
11 entries across 11 versions & 1 rubygems