10件ヒット
[1-10件を表示]
(0.026秒)
種類
- インスタンスメソッド (9)
- 特異メソッド (1)
クラス
-
Rake
:: Application (1) -
Rake
:: EarlyTime (1) -
Rake
:: FileList (1) -
Rake
:: InvocationChain (1) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: Task (1) -
Rake
:: TaskArguments (2) - String (1)
モジュール
- Rake (1)
キーワード
- inspect (1)
-
original
_ dir (2) - pathmap (1)
-
to
_ s (6)
検索結果
先頭5件
-
String
# pathmap(spec = nil) { . . . } -> String (63346.0) -
与えられた書式指定文字列に応じてパス(自身)を変換します。
与えられた書式指定文字列に応じてパス(自身)を変換します。
与えられた書式指定文字列は変換の詳細を制御します。
指定できる書式指定文字列は以下の通りです。
: %p
完全なパスを表します。
: %f
拡張子付きのファイル名を表します。ディレクトリ名は含まれません。
: %n
拡張子なしのファイル名を表します。
: %d
パスに含まれるディレクトリのリストを表します。
: %x
パスに含まれるファイルの拡張子を表します。拡張子が無い場合は空文字列を表します。
: %X
拡張子以外すべてを表します。
: %s
定義されていれば、代替のファイルセパレータを表します。... -
Rake
:: FileList # to _ s -> String (18631.0) -
全ての要素をスペースで連結した文字列を返します。
...全ての要素をスペースで連結した文字列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}... -
Rake
:: InvocationChain # to _ s -> String (18631.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...での依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//... -
Rake
:: EarlyTime # to _ s -> String (18613.0) -
"<EARLY TIME>" という文字列を返します。
"<EARLY TIME>" という文字列を返します。 -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (18613.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Rake
:: Task # to _ s -> String (18613.0) -
自身の名前を返します。
自身の名前を返します。 -
Rake
:: TaskArguments # to _ s -> String (9616.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect -
Rake
. original _ dir -> String (328.0) -
Rake アプリケーションを開始したディレクトリを返します。
...
Rake アプリケーションを開始したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: Application # original _ dir -> String (328.0) -
rake コマンドを実行したディレクトリを返します。
...
rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: TaskArguments # inspect -> String (316.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect