aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies/check_warnings.rb
diff options
context:
space:
mode:
authorGuilherme Mansur <guilherme.mansur@shopify.com>2019-05-21 14:45:04 -0400
committerKasper Timm Hansen <kaspth@gmail.com>2019-08-05 02:31:36 +0200
commit2bd2d853da78c248b1d50add92ce21f43430abe9 (patch)
treedea198daa021157fb4cdd72b4ab1a09f95277366 /activesupport/test/dependencies/check_warnings.rb
parentcebbf6c6cfc88ed2bd64853bad8d0c9adf420fd9 (diff)
downloadrails-2bd2d853da78c248b1d50add92ce21f43430abe9.tar.gz
rails-2bd2d853da78c248b1d50add92ce21f43430abe9.tar.bz2
rails-2bd2d853da78c248b1d50add92ce21f43430abe9.zip
Able to initalize default value for thread_mattr_*
Added the ability to initialize `thread_mattr_*` methods with default values like so: ``` ruby class MyClass thread_attr_reader :foo, default: :foo thread_attr_writer :bar, default: :bar thread_attr_accessor: baz do "baz" end end ``` This is consistent with the api exposed by `mattr_accessor`.
Diffstat (limited to 'activesupport/test/dependencies/check_warnings.rb')
0 files changed, 0 insertions, 0 deletions