本文简要介绍ruby语言中 FileTest.directory?
的用法。
用法
directory?(file_name) → true or false
相关用法
- Ruby FileTest.world_writable?用法及代码示例
- Ruby FileTest.world_readable?用法及代码示例
- Ruby FileTest.identical?用法及代码示例
- Ruby File.identical?用法及代码示例
- Ruby FileUtils.mkdir用法及代码示例
- Ruby FileUtils.compare_file用法及代码示例
- Ruby FileUtils.options_of用法及代码示例
- Ruby File.dirname用法及代码示例
- Ruby FileUtils.ln_s用法及代码示例
- Ruby File.directory?用法及代码示例
- Ruby FileUtils.install用法及代码示例
- Ruby File.link用法及代码示例
- Ruby FileUtils.chown_R用法及代码示例
- Ruby File.expand_path用法及代码示例
- Ruby FileUtils.cp_lr用法及代码示例
- Ruby File.lstat用法及代码示例
- Ruby File.umask用法及代码示例
- Ruby FileUtils.rmdir用法及代码示例
- Ruby File.absolute_path?用法及代码示例
- Ruby FileUtils.rm_rf用法及代码示例
- Ruby FileUtils.collect_method用法及代码示例
- Ruby File.rename用法及代码示例
- Ruby File.split用法及代码示例
- Ruby FileUtils.commands用法及代码示例
- Ruby FileUtils.mv用法及代码示例
注:本文由纯净天空筛选整理自ruby-lang.org大神的英文原创作品 FileTest.directory?。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。