Skip to content
Browse files

a little rdoc

  • Loading branch information...
1 parent 53c72ca commit e687d01844b0b62645b878f0846ebb9106e17361 @dchelimsky dchelimsky committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/rspec/core.rb
View
7 lib/rspec/core.rb
@@ -60,6 +60,13 @@ def self.configuration
@configuration ||= RSpec::Core::Configuration.new
end
+ # Yields the global configuration object
+ #
+ # == Examples
+ #
+ # RSpec.configure do |config|
+ # config.format = 'documentation'
+ # end
def self.configure
warn_about_deprecated_configure if RSpec.world.example_groups.any?
yield configuration if block_given?

0 comments on commit e687d01

Please sign in to comment.
Something went wrong with that request. Please try again.