Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Active Support] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -1/+1 |
| | | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc | ||||
* | Clarify intentions around method redefinitions | Matthew Draper | 2017-09-01 | 1 | -23/+3 |
| | | | | | | | | | Don't use remove_method or remove_possible_method just before a new definition: at best the purpose is unclear, and at worst it creates a race condition. Instead, prefer redefine_method when practical, and silence_redefinition_of_method otherwise. | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Make `Module#redefine_method` to keep method visibility | yui-knk | 2015-10-26 | 1 | -0/+13 |
| | | | | | | | Before this commit `Module#redefine_method` always changes visibility of redefined method to `public`. This commit changes behavior of Module#redefine_method` to keep method visibility. | ||||
* | Add Module#remove_possible_singleton_method | Andrew White | 2015-10-21 | 1 | -0/+7 |
| | | | | | This is primarily to fix method redefinition warnings in class_attribute but may be of use in other places where we define singleton methods. | ||||
* | Some documentation edits [ci skip] | Robin Dupret | 2015-03-05 | 1 | -3/+3 |
| | | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements | ||||
* | adding documentation for 'remove_possible_method' and 'redefine_method' [ci ↵ | George Millo | 2015-01-05 | 1 | -0/+3 |
| | | | | skip] | ||||
* | use undef_method to avoid NameError exceptions all the time | Aaron Patterson | 2012-03-31 | 1 | -5/+1 |
| | |||||
* | remove_possible_method: test if method exists | Brad Ediger | 2011-07-31 | 1 | -2/+7 |
| | | | | | | | This speeds up remove_possible_method substantially since it doesn't have to rescue a NameError in the common case. Closes #2346. | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Introduced redefine_method | Łukasz Strzałkowski | 2010-07-19 | 1 | -0/+5 |
| | |||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -0/+6 |