Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > shell/command-processorライブラリ > Shell::CommandProcessorクラス > dirname

instance method Shell::CommandProcessor#dirname

dirname(filename) -> String

File クラスにある同名のクラスメソッドと同じです.

[PARAM] filename:
ファイル名を表す文字列を指定します。

[SEE_ALSO] File.dirname

class Shell::CommandProcessor