Sha256: b8b5016a5dbb085f947059fb2938daf849a26a2507e971f8a3831cfc7edf33a7
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module PubGrub class Package attr_reader :name def initialize(name) @name = name end def inspect "#<#{self.class} #{name.inspect}>" end def <=>(other) name <=> other.name end ROOT = Package.new(:root) ROOT_VERSION = 0 def self.root ROOT end def self.root_version ROOT_VERSION end def to_s name.to_s end end end
Version data entries
5 entries across 5 versions & 1 rubygems