method
new
v2_2_9 -
Show latest stable
- Class:
Gem::NameTuple
new(name, version, platform="ruby")public
No documentation available.
# File lib/rubygems/name_tuple.rb, line 9
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