Skip to content

Commit

Permalink
Adds YARD documentation listing valid color symbols for color config
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Maffitt authored and alindeman committed Dec 20, 2012
1 parent 7c0e3a4 commit e579968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rspec/core/configuration.rb
Expand Up @@ -127,8 +127,9 @@ def self.add_setting(name, opts={})

# Run all examples if none match the configured filters (default: `false`).
add_setting :run_all_when_everything_filtered

# Allow user to configure their own success/pending/failure colors
# @param [Symbol] should be one of the following: [:black, :white, :red, :green, :yellow, :blue, :magenta, :cyan]
add_setting :success_color
add_setting :pending_color
add_setting :failure_color
Expand Down

0 comments on commit e579968

Please sign in to comment.