Sha256: 24b6e390f99a0707d8577c9834ee335d9d35e26d1c5ece5c7eff107a12535cbd
Contents?: true
Size: 587 Bytes
Versions: 11
Compression:
Stored size: 587 Bytes
Contents
module Vim module Flavor class BranchVersion attr_reader :branch attr_reader :revision def initialize(branch, revision) @branch = branch @revision = revision end def ==(other) self.class === other and self.branch == other.branch and self.revision == other.revision end def to_s() "#{revision} at #{branch}" end def to_revision() return revision if revision throw "Internal error: A revision of a branch #{branch} is not known" end end end end
Version data entries
11 entries across 11 versions & 1 rubygems