class Gem::NameTuple

def initialize(name, version, platform=Gem::Platform::RUBY)

def initialize(name, version, platform=Gem::Platform::RUBY)
  if Gem::Platform === platform
    initialize_with_platform(name, version, platform.to_s)
  else
    initialize_with_platform(name, version, platform)
  end
end