method

new

Importance_0
Ruby latest stable (v2_5_5) - 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.