Categories

Category Specific RSS

Check a file exists in Ruby

def file_exist(fname) puts fname + (File.exist?(fname) ? ” is found ” : ” is missing “)end

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare