aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/try.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixes typo in Object#try!Jay Hayes2013-09-101-1/+1
|
* Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-1/+1
| | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake.
* Fixes typo in Object#try!Jay Hayes2013-07-261-1/+1
|
* revamps the RDoc of Object#tryXavier Noria2013-01-281-22/+30
|
* Bring back changelog entries for Active SupportCarlos Antonio da Silva2012-08-111-2/+2
| | | | Removed in 0228a73b1094a3e19ad291d2ce4789890c09578a, pull request #7310.
* Add Object#try! with the old NoMethodError raising behaviorDavid Heinemeier Hansson2012-07-271-0/+14
|
* will now return nil instead of raise a NoMethodError if the receiving ↵David Heinemeier Hansson2012-07-271-1/+4
| | | | object does not implement the method
* remove double hyphen that doesn't allow properly parsingFrancesco Rodriguez2012-06-041-5/+1
|
* Improve docs for `try` by adding note on `BasicObject`Piotr Sarnacki2012-05-201-0/+4
| | | | [ci skip] closes #5790
* Update docs to public_send for Object#tryOscar Del Ben2012-05-131-1/+1
|
* update docs on Object#tryVasiliy Ermolovich2012-05-131-1/+1
|
* Object#try can't call private methodsVasiliy Ermolovich2012-05-121-2/+2
|
* Revert "don't raise NoMethodError the tried method doesn't exists"José Valim2011-10-061-2/+0
| | | | This reverts commit 29a5aeaae976bf8432d57ec996c7c81932a39de6.
* don't raise NoMethodError the tried method doesn't existsdmathieu2011-05-211-0/+2
|
* NilClass is a singletonAkira Matsuda2011-04-201-1/+1
|
* oops fixed typoSebastian Martinez2011-04-181-1/+1
|
* Fixed docs for NilClass#trySebastian Martinez2011-04-181-8/+8
|
* Formatting docsSebastian Martinez2011-04-171-1/+1
|
* Docs for NilClass#trySebastian Martinez2011-04-171-1/+13
|
* Active Support typos.R.T. Lechow2011-03-051-1/+1
|
* :method: is not needed when RDoc can detect itSantiago Pastorino2010-12-021-5/+0
|
* Add support for try to just yield the object to a block if no method is to ↵raggi2010-11-141-1/+13
| | | | be called. Kind of like a tap_if_present.
* Remove dummy method definition in favor of RDoc hints:Aaron Patterson2010-09-111-7/+5
| | | | http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html
* try is an object extensionJeremy Kemper2009-03-211-0/+36