Sha256: fcffb977a1a6b58d0ea0a03356453cfc6ab943fe87c28363212d905a4f96afc4

Contents?: true

Size: 190 Bytes

Versions: 3

Compression:

Stored size: 190 Bytes

Contents

module Rugged
  class Reference
    def local?
      !remote?
    end

    def time
      target.time
    end

    def targets?(reference)
      target == reference.target
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git-switcher-1.0.2 lib/ext/rugged.rb
git-switcher-1.0.1 lib/ext/rugged.rb
git-switcher-1.0.0 lib/ext/rugged.rb