method

sub_ext

v1_9_3_125 - Show latest stable - Class: Pathname
sub_ext(p1)
public

Return a pathname which the extension of the basename is substituted by repl.

If self has no extension part, repl is appended.