Ruby 2.2.0 リファレンスマニュアル > ライブラリ一覧 > fileutilsライブラリ > FileUtilsモジュール > options

singleton method FileUtils.options

options -> Array[permalink][rdoc]

オプション名の配列を返します。


require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]