1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix indentation + Add backticks [ci skip]

This commit is contained in:
Ryuta Kamizono 2017-06-06 12:03:37 +09:00
parent 46ca735a01
commit c27991fc63

View file

@ -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 = {}