method

new

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: NameTuple
new(name, version, platform="ruby") public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/name_tuple.rb, line 10
  def initialize(name, version, platform="ruby")
    @name = name
    @version = version

    unless platform.kind_of? Gem::Platform
      platform = "ruby" if !platform or platform.empty?
    end

    @platform = platform
  end
Register or log in to add new notes.