class Gem::NameTuple
Public Class Methods
new(name, version, platform=Gem::Platform::RUBY)
click to toggle source
# File bundler/rubygems_ext.rb, line 399 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
Public Instance Methods
lock_name()
click to toggle source
# File bundler/rubygems_ext.rb, line 408 def lock_name if platform == Gem::Platform::RUBY "#{name} (#{version})" else "#{name} (#{version}-#{platform})" end end