class PubGrub::Package
Constants
- ROOT
- ROOT_VERSION
Attributes
name[R]
Public Class Methods
new(name)
click to toggle source
# File lib/pub_grub/package.rb, line 8 def initialize(name) @name = name end
root()
click to toggle source
# File lib/pub_grub/package.rb, line 23 def self.root ROOT end
root_version()
click to toggle source
# File lib/pub_grub/package.rb, line 27 def self.root_version ROOT_VERSION end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/pub_grub/package.rb, line 16 def <=>(other) name <=> other.name end
inspect()
click to toggle source
# File lib/pub_grub/package.rb, line 12 def inspect "#<#{self.class} #{name.inspect}>" end
to_s()
click to toggle source
# File lib/pub_grub/package.rb, line 31 def to_s name.to_s end