diff options
author | Prem Sichanugrist <s@sikac.hu> | 2013-11-11 13:53:54 -0500 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2013-11-11 13:53:54 -0500 |
commit | efff6c1fd4b9e2e4c9f705a45879373cb34a5b0e (patch) | |
tree | 88592ddf445e74bab4d918481cc377cb384f6c03 /activesupport/lib/active_support/hash_with_indifferent_access.rb | |
parent | 83271a64f961e8138bf1e125251860333ba88f72 (diff) | |
download | rails-efff6c1fd4b9e2e4c9f705a45879373cb34a5b0e.tar.gz rails-efff6c1fd4b9e2e4c9f705a45879373cb34a5b0e.tar.bz2 rails-efff6c1fd4b9e2e4c9f705a45879373cb34a5b0e.zip |
Change syntax format for example returned values
According to our guideline, we leave 1 space between `#` and `=>`, so we
want `# =>` instead of `#=>`.
Thanks to @fxn for the suggestion.
[ci skip]
Diffstat (limited to 'activesupport/lib/active_support/hash_with_indifferent_access.rb')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 3da99872c0..f690eab604 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -207,7 +207,7 @@ module ActiveSupport # Replaces the contents of this hash with other_hash. # # h = { "a" => 100, "b" => 200 } - # h.replace({ "c" => 300, "d" => 400 }) #=> {"c"=>300, "d"=>400} + # h.replace({ "c" => 300, "d" => 400 }) # => {"c"=>300, "d"=>400} def replace(other_hash) super(self.class.new_from_hash_copying_default(other_hash)) end |