Skip to content

Commit

Permalink
[rubygems/rubygems] Remove no longer relevant commentsº
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed May 28, 2021
1 parent f7732ae commit 4fb3dd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 5 additions & 10 deletions test/rubygems/test_case.rb
Expand Up @@ -52,32 +52,28 @@
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
Expand All @@ -88,8 +84,7 @@ module DefaultUserInteraction

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
Expand Down
2 changes: 0 additions & 2 deletions test/rubygems/test_utilities.rb
Expand Up @@ -348,8 +348,6 @@ def write_spec(spec) # :nodoc:
# 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
Expand Down

0 comments on commit 4fb3dd2

Please sign in to comment.