るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.083秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

クラス

キーワード

検索結果

Rake::FileList#ext(newext = '') -> Rake::FileList (18248.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=(mode) (3025.0)

プロンプトモードを mode に設定します。

...設定します。

@
param mode プロンプトモードを Symbol で指定します。オリジナルの
プロンプトモードか、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY
:XMP、:NULL のいずれを指定してください。

@
see IRB::Context#prompt_mode, lib:ir...

IRB::Context#prompt_mode -> Symbol (3019.0)

現在のプロンプトモードを Symbol で返します。

...す。
そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。

定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。

@
see IRB::Context#prompt_mode=, lib:irb#customize_p...

Rake::Application#add_loader(ext, loader) (132.0)

与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。

...ためのローダーを
自身に追加します。

@
param ext 拡張子を指定します。

@
param loader ローダーを指定します。

//emlist[例][ruby]{
require "rake/loaders/makefile"

# Rakefile での記載例とする

task default: :test
task :test

makefile =<<-EOS
<< <<-'SAMPLE_...