Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |