diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-12-14 20:16:59 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-12-14 20:25:22 -0200 |
commit | df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56 (patch) | |
tree | af11c2b4b318b83678b0a421bd9db53473566bb8 /activesupport/CHANGELOG.md | |
parent | 99d142a9375f9ba1960863b3cc745265aa9a14df (diff) | |
download | rails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.tar.gz rails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.tar.bz2 rails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.zip |
Convert changelogs to 1.9 hash style and fix some formatting [ci skip]
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 7b93731917..82db1bb6f9 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -80,7 +80,7 @@ * Hash#extract! returns only those keys that present in the receiver. - {:a => 1, :b => 2}.extract!(:a, :x) # => {:a => 1} + {a: 1, b: 2}.extract!(:a, :x) # => {:a => 1} *Mikhail Dieterle* @@ -158,7 +158,7 @@ You can choose which instance of the deprecator will be used. - deprecate :method_name, :deprecator => deprecator_instance + deprecate :method_name, deprecator: deprecator_instance You can use ActiveSupport::Deprecation in your gem. @@ -176,7 +176,7 @@ def new_method end - deprecate :old_method => :new_method, :deprecator => deprecator + deprecate old_method: :new_method, deprecator: deprecator end MyGem.new.old_method |