basename « File Directory « Ruby






1.just the local filename
2.base name with extension stripped