aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object
Commit message (Collapse)AuthorAgeFilesLines
* A small rdoc change made on lines 39 and 41 on ↵jacortinas2010-05-251-2/+2
| | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name.
* 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>
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-13/+0
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* metaclass deprecated in 2.3.6Jeremy Kemper2010-02-251-14/+0
|
* Missed singleton_classJeremy Kemper2010-02-251-0/+13
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-5/+6
|
* Reinstate Object.subclasses_of and Class#descendents for plugin compat.Jeremy Kemper2010-02-091-0/+11
| | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70
* removes now void extending.rbXavier Noria2010-01-261-4/+0
|
* removes Object#extended_byXavier Noria2010-01-261-4/+0
|
* removes unused method Object#extend_with_included_modules_fromXavier Noria2010-01-261-4/+0
|
* deletes no void files removal.rb and class_test.rbXavier Noria2010-01-261-1/+0
|
* removes unused Class#descedentsXavier Noria2010-01-261-34/+0
|
* removes unused Object#subclasses_ofXavier Noria2010-01-261-12/+0
|
* removes unused Object#remove_subclasses_ofXavier Noria2010-01-261-4/+0
|
* Merge docrailsPratik Naik2010-01-171-0/+16
|
* fixes a couple of wrong requiresXavier Noria2010-01-011-1/+1
|
* to_param.rb needs active_support/core_ext/object/to_queryXavier Noria2010-01-011-0/+2
|
* extending.rb needs active_support/core_ext/object/blankXavier Noria2010-01-011-0/+1
|
* extending.rb needs active_support/core_ext/class/removal because it uses ↵Xavier Noria2010-01-011-0/+2
| | | | reachable?
* Added Object#presence that returns the object if it's #present? otherwise ↵David Heinemeier Hansson2009-12-271-2/+20
| | | | returns nil [DHH/Colin Kelley]
* Extract descendents a bit so it can take advantage of Rubinius' __subclasses__.Yehuda Katz2009-12-131-33/+40
|
* Quick fix for not escaping []s (not ideal)Joshua Peek2009-12-021-1/+1
|
* Failing tests for to_param/to_query not escaping "[]"Joshua Peek2009-12-022-2/+2
|
* Object#tap is not needed for Ruby >= 1.8.7Xavier Noria2009-11-092-17/+0
|
* Object#instance_variable_defined? is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-7/+0
|
* Since we require 1.8.7 we don't need to shim instance_exec anymoreYehuda Katz2009-11-071-27/+0
|
* Consolidate Object#to_param and #to_query core extensionsJeremy Kemper2009-11-023-16/+76
|
* Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵José Valim2009-10-171-1/+7
| | | | responder to be set in the class level.
* Merge docrailsPratik Naik2009-07-251-1/+1
|
* Break up misc Object extensionsJeremy Kemper2009-05-204-80/+85
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+3
|
* Tease out Object#acts_like? behaviorsJeremy Kemper2009-03-282-10/+10
|
* try is an object extensionJeremy Kemper2009-03-211-0/+36
|
* blank? and duplicable? are Object extensionsJeremy Kemper2009-03-212-0/+101
|
* Refactor Object#try to use inheritance. [#1774 state:resolved]Josh Susser2009-01-181-17/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Change Object#try to raise NoMethodError on private methods and always ↵Pratik Naik2009-01-131-1/+1
| | | | return nil when Object is nil [Pratik Naik, Lawrence Pit]
* Object#tap for Ruby < 1.8.7Jeremy Kemper2009-01-071-0/+15
|
* Lazy-require CGI for Object#to_queryJeremy Kemper2008-11-261-2/+1
|
* Allow optional arguments and/or block for Object#try like Object#send does. ↵Eloy Duran2008-11-241-2/+7
| | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵Jeremy Kemper2008-11-231-1/+3
| | | | actually used.
* Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵Pratik Naik2008-11-191-0/+13
| | | | Wanstrath]
* Merge docrailsPratik Naik2008-10-051-16/+36
|
* Provide alternate implementation of Object#subclasses_of for JRubyNick Sieger2008-10-031-12/+33
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed]
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-5/+0
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Improved Memoizable test coverage and added support for multiple argumentsJoshua Peek2008-07-221-0/+5
|
* Added Object#metaclassJoshua Peek2008-07-151-0/+8
|
* Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-091-1/+1
|
* Performance: faster Object.subclasses_ofJeremy Kemper2008-06-081-8/+9
|
* Merge docrails.Pratik Naik2008-05-251-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Alias Object#instance_variable_names to Object#instance_variables for Ruby 1.8.xPratik Naik2008-04-211-2/+6
|