aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-06-06 12:03:37 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-06-06 12:03:37 +0900
commitc27991fc6387444070ec6a229fad37e1b413f04c (patch)
tree8c31fedd239f1cc42784bbeba714887dbe221c15
parent46ca735a0170e28db49fa48939ed697e97ed9f54 (diff)
downloadrails-c27991fc6387444070ec6a229fad37e1b413f04c.tar.gz
rails-c27991fc6387444070ec6a229fad37e1b413f04c.tar.bz2
rails-c27991fc6387444070ec6a229fad37e1b413f04c.zip
Fix indentation + Add backticks [ci skip]
-rw-r--r--activesupport/CHANGELOG.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index c4c6e139ff..fc1e5516f8 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,6 +1,6 @@
* Add default option to module and class attribute accessors.
- mattr_accessor :settings, default: {}
+ mattr_accessor :settings, default: {}
Works for `mattr_reader`, `mattr_writer`, `cattr_accessor`, `cattr_reader`,
and `cattr_writer` as well.
@@ -11,7 +11,9 @@
*Shota Iguchi*
-* Add default option to class_attribute. Before:
+* Add default option to `class_attribute`.
+
+ Before:
class_attribute :settings
self.settings = {}