class Gem::Platform

def hash

def hash
  @cpu.hash + @os.hash + @version.hash
end

def to_generic ; self ; end

def to_generic ; self ; end

def to_generic

def to_generic
  GENERIC_CACHE[self] ||= GENERICS.find { |p| self =~ p } || RUBY
end