aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/try.rb
Commit message (Expand)AuthorAgeFilesLines
* This PR speeds up Nil#try by avoiding an allocation when only one argument is...schneems2018-10-031-2/+2
* 20% faster `try`Sean Griffin2018-08-291-8/+7
* 32% Faster Object#tryschneems2018-08-291-1/+10
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-1/+1
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Improve readability of docs by using code tag [ci skip]amitkumarsuroliya2015-09-241-1/+1
* Use == 0 instead of .zero? in #tryJean Boussier2015-08-171-1/+1
* Small stylistic tweaks for `Delegator#try` patchGodfrey Chan2015-05-191-5/+5
* Patch `Delegator` to work with `#try`Nate Smith2015-05-191-17/+57
* Fix a few typos [ci skip]Robin Dupret2015-01-031-1/+1
* Add docs for `Object.nil!`claudiob2014-12-221-3/+9
* Replace `#=>` with `# =>` [ci skip]claudiob2014-12-171-2/+2
* Revert a change made to the example in 1ac4525Godfrey Chan2014-10-241-1/+1
* Include return value in examples added in #17378 [ci skip]Zachary Scott2014-10-241-2/+2
* Improved try documentation [ci skip]Eugene Gilburg2014-10-241-8/+25
* DRY up try/try!Ari Pollak2014-10-231-10/+6
* Bring try! into parity with try.Ari Pollak2014-10-221-1/+1
* We tenderized the wrong method! Object#try already had the yield option, just...David Heinemeier Hansson2014-08-291-1/+10
* 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
* 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
* 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 object...David Heinemeier Hansson2012-07-271-1/+4
* 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
* 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
* 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 be...raggi2010-11-141-1/+13
* Remove dummy method definition in favor of RDoc hints:Aaron Patterson2010-09-111-7/+5
* try is an object extensionJeremy Kemper2009-03-211-0/+36