mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove no longer relevant commentsº
https://github.com/rubygems/rubygems/commit/8dfe1e30b5
This commit is contained in:
parent
f7732ae2eb
commit
4fb3dd2c42
2 changed files with 5 additions and 12 deletions
|
@ -52,32 +52,28 @@ require 'rubygems/mock_gem_ui'
|
|||
module Gem
|
||||
|
||||
##
|
||||
# Allows setting the gem path searcher. This method is available when
|
||||
# requiring 'rubygems/test_case'
|
||||
# Allows setting the gem path searcher.
|
||||
|
||||
def self.searcher=(searcher)
|
||||
@searcher = searcher
|
||||
end
|
||||
|
||||
##
|
||||
# Allows toggling Windows behavior. This method is available when requiring
|
||||
# 'rubygems/test_case'
|
||||
# Allows toggling Windows behavior.
|
||||
|
||||
def self.win_platform=(val)
|
||||
@@win_platform = val
|
||||
end
|
||||
|
||||
##
|
||||
# Allows setting path to Ruby. This method is available when requiring
|
||||
# 'rubygems/test_case'
|
||||
# Allows setting path to Ruby.
|
||||
|
||||
def self.ruby=(ruby)
|
||||
@ruby = ruby
|
||||
end
|
||||
|
||||
##
|
||||
# When rubygems/test_case is required the default user interaction is a
|
||||
# MockGemUi.
|
||||
# Sets the default user interaction to a MockGemUi.
|
||||
|
||||
module DefaultUserInteraction
|
||||
@ui = Gem::MockGemUi.new
|
||||
|
@ -88,8 +84,7 @@ require "rubygems/command"
|
|||
|
||||
class Gem::Command
|
||||
##
|
||||
# Allows resetting the hash of specific args per command. This method is
|
||||
# available when requiring 'rubygems/test_case'
|
||||
# Allows resetting the hash of specific args per command.
|
||||
|
||||
def self.specific_extra_args_hash=(value)
|
||||
@specific_extra_args_hash = value
|
||||
|
|
|
@ -348,8 +348,6 @@ end
|
|||
# A StringIO duck-typed class that uses Tempfile instead of String as the
|
||||
# backing store.
|
||||
#
|
||||
# This is available when rubygems/test_utilities is required.
|
||||
#--
|
||||
# This class was added to flush out problems in Rubinius' IO implementation.
|
||||
|
||||
class TempIO < Tempfile
|
||||
|
|
Loading…
Add table
Reference in a new issue