aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/with_options.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update with_options.rbDaniel Amireh2018-07-251-1/+1
| | | explicit mapping for enum accepts a Hash not an Array, plus the example is using `.keys` which also exists on hash
* Update incorrect backtick usage in RDoc to teletypeT.J. Schuck2017-11-221-1/+1
| | | [ci skip]
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
|
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Cleanup documentation fixes (#28460)Vipul A M2017-03-171-2/+2
|
* Add documentation to use with_options in the same class [ci skip]Dennis Zelada2017-03-161-0/+11
|
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* [ci skip] Remove unnecessary `>`yui-knk2015-03-311-1/+1
|
* [ci skip] Add Doc of with_options for the case when inherited default ↵Pramod Sharma2014-10-181-1/+15
| | | | options and original options have same keys
* Add implicit receiver support to `Object#with_options`Pavel Pravosud2014-07-291-2/+15
|
* update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-121-8/+7
|
* String quotes and trailing spacesAlexey Gaziev2012-04-291-1/+1
|
* replaced eg using old router api with the one in the guides. Add info on ↵Vijay Dev2011-05-071-5/+8
| | | | nesting with_options
* Add a forgotten word.Ben Orenstein2011-02-191-1/+1
|
* Add a clearer example for with_options (lifted from the Active Support guide).Ben Orenstein2011-02-191-5/+19
|
* Add missing require to with_options [#4601 state:resolved]Carlos Antonio da Silva2010-05-151-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Break up misc Object extensionsJeremy Kemper2009-05-201-0/+24