class Gem::NameTuple
Public Class Methods
new(name, version, platform="ruby")
click to toggle source
Calls superclass method
# File bundler/rubygems_ext.rb, line 364 def self.new(name, version, platform="ruby") if Gem::Platform === platform super(name, version, platform.to_s) else super end end
Public Instance Methods
lock_name()
click to toggle source
# File bundler/rubygems_ext.rb, line 372 def lock_name @lock_name ||= if platform == Gem::Platform::RUBY "#{name} (#{version})" else "#{name} (#{version}-#{platform})" end end