Class: Gem::NameTuple
- Inherits:
-
Object
- Object
- Gem::NameTuple
- Defined in:
- lib/bundler/rubygems_ext.rb
Instance Method Summary collapse
-
#initialize(name, version, platform = Gem::Platform::RUBY) ⇒ NameTuple
constructor
A new instance of NameTuple.
- #initialize_with_platform ⇒ Object
- #lock_name ⇒ Object
Constructor Details
#initialize(name, version, platform = Gem::Platform::RUBY) ⇒ NameTuple
Returns a new instance of NameTuple.
401 402 403 404 405 406 407 |
# File 'lib/bundler/rubygems_ext.rb', line 401 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 |
Instance Method Details
#initialize_with_platform ⇒ Object
399 |
# File 'lib/bundler/rubygems_ext.rb', line 399 alias_method :initialize_with_platform, :initialize |