method

ext

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: String

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

ext(newext='') public

Replace the file extension with newext. If there is no extension on the string, append the new extension to the end. If the new extension is not given, or is the empty string, remove any existing extension.

ext is a user added method for the String class.

This String extension comes from Rake

Show source
Register or log in to add new notes.