Flowdock
method

ext

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: String
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.

Show source
Register or log in to add new notes.