Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rdoc - hide more private stuff

  • Loading branch information...
commit 1354f1afca8fdc94397daac11255320cd538547c 1 parent 84cb5f2
@dchelimsky dchelimsky authored
Showing with 5 additions and 4 deletions.
  1. +3 −2 lib/rspec/core.rb
  2. +2 −2 lib/rspec/core/deprecation.rb
View
5 lib/rspec/core.rb
@@ -56,13 +56,13 @@ def self.wants_to_quit=(maybe)
world.wants_to_quit=(maybe)
end
- # @api private
+ # @private
# Internal container for global non-configuration data
def self.world
@world ||= RSpec::Core::World.new
end
- # @api private
+ # @private
# Used internally to ensure examples get reloaded between multiple runs in
# the same process.
def self.reset
@@ -82,6 +82,7 @@ def self.configuration
@configuration ||= RSpec::Core::Configuration.new
end
+ # Yields the global configuration to a block.
# @yield [Configuration] global configuration
#
# @example
View
4 lib/rspec/core/deprecation.rb
@@ -1,6 +1,6 @@
module RSpec
class << self
- # @api private
+ # @private
#
# Used internally to print deprecation warnings
def deprecate(method, alternate_method=nil, version=nil)
@@ -26,7 +26,7 @@ def deprecate(method, alternate_method=nil, version=nil)
warn_deprecation(message)
end
- # @api private
+ # @private
#
# Used internally to print deprecation warnings
def warn_deprecation(message)
Please sign in to comment.
Something went wrong with that request. Please try again.