るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.018秒)
トップページ > クエリ:shell[x] > ライブラリ:shell[x] > クラス:Shell[x] > クエリ:dirname[x] > バージョン:2.4.0[x]

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell verbose
  5. shell debug?

検索結果

Shell#dirname(filename) -> String (105331.0)

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

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

@param filename ファイル名を表す文字列を指定します。

@see File.dirname