aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Improve documentation.Pratik Naik2008-04-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-261-0/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick ↵Jeremy Kemper2007-12-281-0/+4
| | | | | | Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit. References #10395.Jeremy Kemper2007-12-091-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Alias Object#send to send! for Ruby 1.9 forward compatibility.Jeremy Kemper2007-09-271-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Object#copy_instance_variables_from Ruby 1.9 compatJeremy Kemper2007-09-272-15/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backport Object#instance_variable_defined? for Ruby < 1.8.6.Jeremy Kemper2007-09-271-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Object#instance_exec produces fewer garbage methods.Jeremy Kemper2007-09-241-3/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Object.subclasses_of includes anonymous subclasses.Jeremy Kemper2007-09-231-7/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some 1.9 forward compatibilityJeremy Kemper2007-09-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵Sam Stephenson2007-03-182-18/+9
| | | | | | decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase test coverage for subclasses_of. Closes #7335.Nicholas Seckar2007-01-241-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better docs for Object extensions (closes #7002)Jamis Buck2007-01-221-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Object#acts_like? and Time#acts_like_time? and Date#acts_like_date? to ↵Jamis Buck2007-01-151-0/+9
| | | | | | facilitate duck-typing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove broken hack which has no effect.Nicholas Seckar2006-03-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Object.subclasses_of to locate nested classes. Update ↵Nicholas Seckar2006-03-261-4/+7
| | | | | | Object.remove_subclasses_of to use Class.remove_class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated Kernel#returning for the AP performance patch [DHH]David Heinemeier Hansson2006-03-201-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#daemonize to turn the current process into a daemon that can be ↵David Heinemeier Hansson2006-03-011-7/+16
| | | | | | killed with a TERM signal [DHH] Refactored stuff lingering in kernel.rb to the appropriate places git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Object.subclasses_of to only return currently defined objects (closes ↵David Heinemeier Hansson2006-02-191-2/+2
| | | | | | #3882) [Jonathan Viney <jonathan@bluewire.net.nz>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-292-0/+61
module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de