aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/module_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fixing issue when delegating to methods named "block", "args", or "arg"Jake Bell2015-08-191-0/+15
* Deprecate alias_method_chain in favour of Module#prependKir Shatrov2015-03-221-95/+125
* Revert 88d08f2ec9f89ba431cba8d0c06ac9ebc204bbbbRafael Mendonça França2015-02-111-1/+1
* Delegation works with reserved words passed to `:to`Agis-2014-09-191-0/+11
* Fix confusing exception in ActiveSupport delegationVladimir Yarotsky2014-05-201-1/+1
* Remove warningRafael Mendonça França2014-01-161-2/+2
* define the delegate methods on one line. fixes #13724Aaron Patterson2014-01-161-0/+10
* Unused classes in AS testsAkira Matsuda2013-12-191-6/+0
* Only raise DelegationError if it's is the source of the exceptionAndrew White2013-07-111-0/+27
* Fixed test broken by local_constant_names Arun Agrawal2013-07-031-6/+0
* Move delegation error constant to inside ModuleCarlos Antonio da Silva2013-06-261-1/+1
* Add DelegationError class. Rasied by delegation to a nil objectSteve Faulkner2013-06-261-1/+1
* Module#delegate checks nilness rather that falsehood if :allow_nil is true, a...Xavier Noria2013-04-261-0/+31
* Delegation method bugLi Ellis Gallardo2013-04-251-0/+5
* Nice and easy delegation to the classMarc-Andre Lafortune2012-09-111-0/+11
* JRuby return different Array for module contents.Arun Agrawal2012-05-291-1/+1
* Optimize the performance of #delegateDaniel Schierbeck2012-04-121-0/+19
* deprecates Module#local_constant_namesXavier Noria2012-01-121-0/+6
* use AS::TestCase as the base classAaron Patterson2012-01-051-2/+2
* We can't simply check the first line of the backtrace, Arun Agrawal2011-09-041-4/+6
* Revert all the stuff to do with disallowing non-public methods for Module#del...Jon Leighton2011-08-251-19/+1
* Add a test for delegating a method ending in '=' as this is a special case.Jon Leighton2011-08-151-0/+8
* Split up the definitions in Module#delegate depending on :allow_nil, and don'...Jon Leighton2011-08-151-0/+12
* Fix the line number in the backtrace when Module#delegate raisesJon Leighton2011-08-151-1/+13
* Just do the method call directly in Module#delegate, if we can (we cannot for...Jon Leighton2011-08-151-2/+20
* Remove unused line in test setup.Ben Orenstein2011-02-171-1/+0
* Remove unused code.Ben Orenstein2011-02-161-3/+0
* delegate method should treat :prefix => false same as :prefix => nilNeeraj Singh2010-09-011-0/+13
* Removes unused varsSantiago Pastorino2010-07-241-1/+1
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-5/+5
* Singleton classes returns parent's methods with instance_methods(false) and t...José Valim2010-03-191-0/+14
* Fix test ordering bug related to introducing masked Name classYehuda Katz2010-02-191-14/+6
* removes Module#as_load_path, which is no longer usedXavier Noria2010-02-071-5/+0
* removes Module#included_in_classes, which is no longer usedXavier Noria2010-02-071-7/+0
* Allow delegating to nil, because the method might actually exist on itBryan Helmkamp2009-08-101-1/+12
* Friendlier runtime exception if delegatee is nilJeremy Kemper2009-06-181-1/+1
* Explicit test dependenciesJeremy Kemper2009-03-281-0/+1
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-5/+5
* Add :allow_nil option to delegate [#1127 state:resolved]Sergio Gil2008-12-211-0/+27
* Ensure only delegations to methods can have an automatic prefix. [#1235 state...Daniel Schierbeck2008-11-211-0/+11
* Moved test object instantiation to a setup method.Daniel Schierbeck2008-10-191-9/+9
* Made the :prefix option on Module#delegate accept a custom prefix.Daniel Schierbeck2008-10-191-0/+9
* Added :prefix option to Module#delegate.Daniel Schierbeck2008-10-191-0/+12
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Prefer class_eval with block to many sends for Ruby 1.9 compatJeremy Kemper2007-09-271-53/+72
* alias_method_chain preserves the original method's visibility. Closes #7854.Jeremy Kemper2007-03-181-0/+45
* Update Dependencies to ignore constants inherited from ancestors. Closes #6951.Nicholas Seckar2007-03-141-0/+8
* alias_method_chain yields method target and punctuation to simplify wrapper m...Jeremy Kemper2006-09-151-0/+15
* alias_method_chain works with accessor= methods also. Closes #6153.Jeremy Kemper2006-09-121-9/+22
* More tests for alias_method_chain with feature and method punctuation. Closes...Jeremy Kemper2006-09-031-0/+15