Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the version of ruby in which a particular function was added?

Tags:

ruby

Like the title, File.symlink to be exact.

I've looked in ruby-doc.org but haven't found anything. Any help?

like image 313
Matthew Boston Avatar asked Dec 11 '25 11:12

Matthew Boston


1 Answers

If you look at APIdock you'll notice that they have this information at the top left, under the method name (versions that don't support the method can't be clicked). Examples:

  • http://apidock.com/ruby/Enumerable/each_with_object
  • http://apidock.com/ruby/File/symlink/class

Same for Rails versions btw.

like image 110
Michael Kohl Avatar answered Dec 14 '25 11:12

Michael Kohl