File: object.rb

package info (click to toggle)
ruby-rugged 0.27.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 740 kB
  • sloc: ansic: 8,401; ruby: 659; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (C) the Rugged contributors.  All rights reserved.
#
# This file is part of Rugged, distributed under the MIT license.
# For full terms see the included LICENSE file.

module Rugged
  class Object
    def <=>(other)
      self.oid <=> other.oid
    end
  end
end