aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-06-22 22:14:29 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-06-22 22:14:29 +0530
commit6285675db1cf983ba6c15442aedb457c8041f5ee (patch)
treed3fa66d3bc136f2dd90eeb17c0a463139e7a9f6c /activesupport
parent741cb5b12b87f0405d421c82f04cd86eba6c613b (diff)
downloadrails-6285675db1cf983ba6c15442aedb457c8041f5ee.tar.gz
rails-6285675db1cf983ba6c15442aedb457c8041f5ee.tar.bz2
rails-6285675db1cf983ba6c15442aedb457c8041f5ee.zip
fixes a few mistakes in api docs [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/deprecation/reporting.rb2
-rw-r--r--activesupport/lib/active_support/testing/assertions.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation/reporting.rb b/activesupport/lib/active_support/deprecation/reporting.rb
index 0529da342f..a1e9618084 100644
--- a/activesupport/lib/active_support/deprecation/reporting.rb
+++ b/activesupport/lib/active_support/deprecation/reporting.rb
@@ -20,7 +20,7 @@ module ActiveSupport
# ActiveSupport::Deprecation.warn("something broke!")
# # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
#
- # Activesupport::Deprecation.silence do
+ # ActiveSupport::Deprecation.silence do
# ActiveSupport::Deprecation.warn("something broke!")
# end
# # => nil
diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb
index 411bb76a42..ee1a647ed8 100644
--- a/activesupport/lib/active_support/testing/assertions.rb
+++ b/activesupport/lib/active_support/testing/assertions.rb
@@ -90,7 +90,7 @@ module ActiveSupport
assert object.blank?, message
end
- # Test if an expression is not blank. Passes <tt>if object.present?</tt> is +true+.
+ # Test if an expression is not blank. Passes if <tt>object.present?</tt> is +true+.
#
# assert_present({ data: 'x' }) # => true
# assert_present({}) # => {} is blank