るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.091秒)
トップページ > 種類:インスタンスメソッド[x] > バージョン:2.3.0[x] > クエリ:base[x] > クラス:Shell::CommandProcessor[x]

別のキーワード

  1. base digest
  2. base ==
  3. base file
  4. base hexdigest
  5. bigdecimal base

ライブラリ

検索結果

Shell::CommandProcessor#basename(filename, suffix = "") -> String (18307.0)

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

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

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

@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。

@see File.basename