directory « File Directory « Ruby






1.find out if it is a directory with directory?:
2.Is it a directory or a file