るりまサーチ

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

別のキーワード

  1. _builtin b
  2. string b
  3. b string
  4. b
  5. b _builtin

ライブラリ

キーワード

検索結果

Rake::TestTask#loader -> Symbol (18202.0)

テストをロードする方法を返します。

テストをロードする方法を返します。

IRB::Context#use_loader -> bool (9209.0)

load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。

...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。


@see IRB::Context#use_loader=...

IRB::Context#use_loader? -> bool (9209.0)

load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。

...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。


@see IRB::Context#use_loader=...

IRB::Context#use_loader=(opt) (9114.0)

load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを設定します。

...は require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを設定します。

.irbrc ファイル中で IRB.conf[:USE_LOADER] を設定する事でも同様の事が行
えます。


デフォルト値は false です。

@see IRB::Context#use_loader?...

Rake::MakefileLoader#load(filename) (3061.0)

与えられた Makefile をロードします。

...を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"

task default: :test_rake_app

open "sample.mf", "w" do |io|
io << <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b
: b1 b2 b3 \
b
4 b5 b6\
# Mid: Comment
b
7
a : a5 a6 a7
c: c1
d: d1 d2 \
e f :...
...e1 f1
g\ 0: g1 g\ 2 g\ 3 g4
SAMPLE_MF
end

task :test_rake_app do |task|
loader
= Rake::MakefileLoader.new
loader
.load("sample.mf")
p Rake::Task.task_defined?("a") # => true
p Rake::Task.tasks[0] # => <Rake::FileTask a => [a1, a2, a3, a4, a5, a6, a7]>
end
//}...

絞り込み条件を変える