Sha256: ba2757cd6f7c41b0d93b92872b4ce489f507f346fb2484d6fad602e7480367d8
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pub_grub-0.3.2 | lib/pub_grub/package.rb |
pub_grub-0.3.1 | lib/pub_grub/package.rb |
pub_grub-0.3.0 | lib/pub_grub/package.rb |