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:
parent
46ca735a01
commit
c27991fc63
1 changed files with 4 additions and 2 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue