24件ヒット
[1-24件を表示]
(0.075秒)
別のキーワード
ライブラリ
-
irb
/ context (12) - rake (12)
クラス
-
IRB
:: Context (12) -
Rake
:: FileList (12)
検索結果
-
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (18354.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...各要素に String#ext を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb"......, "test3.rb")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}
@see String#ext... -
IRB
:: Context # prompt _ mode -> Symbol (3125.0) -
現在のプロンプトモードを Symbol で返します。
...す。
そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_p...