Add new ruby example to retrieve basename of a path/file