class Addressable::URI
def basename
-
(String)
- The path's basename.
def basename # Path cannot be nil return File.basename(self.path).sub(/;[^\/]*$/, EMPTY_STR) end
(String)
- The path's basename.
def basename # Path cannot be nil return File.basename(self.path).sub(/;[^\/]*$/, EMPTY_STR) end