144件ヒット
[1-100件を表示]
(0.223秒)
ライブラリ
- ビルトイン (60)
- delegate (12)
-
irb
/ ext / use-loader (48) - rake (12)
-
rubygems
/ version (12)
クラス
- Class (12)
- Delegator (12)
-
Gem
:: Version (12) -
IRB
:: Context (36) - Object (36)
-
Rake
:: Application (12) - Random (12)
モジュール
キーワード
-
_ dump (12) -
add
_ loader (12) -
irb
_ load (12) -
marshal
_ dump (12) -
marshal
_ load (48) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12)
検索結果
先頭5件
-
Class
# _ load(str) -> Class (18108.0) -
Object#_dump を参照して下さい。
...Object#_dump を参照して下さい。
@param str Ruby のオブジェクトがダンプされた文字列を指定します。... -
Object
# marshal _ load(obj) -> object (6150.0) -
Marshal.#load を制御するメソッドです。
...marshal_load を持っていなければなりません。
このとき、marshal_dump の返り値が marshal_load の引数に利用されます。
marshal_load 時の self は、生成されたばかり(Class#allocate されたばかり) の状態です。
marshal_dump/marshal_load の仕......Ruby 1.8.0 から導入されました。
これから書くプログラムでは _dump/_load ではなく
marshal_dump/marshal_load を使うべきです。
@param obj marshal_dump の返り値のコピーです。
@return 返り値は無視されます。
@see Object#marshal_dump, Marshal... -
Random
# marshal _ load(array) -> Random (6126.0) -
Random#marshal_dump で得られた配列を基に、Randomオブジェクトを復元します。
...れた配列を基に、Randomオブジェクトを復元します。
@param array 三要素以下からなる配列を指定します。
何を指定するかはRandom#marshal_dumpを参考にしてください。
@raise ArgumentError array が3より大きい場合に発生します......。
//emlist[例][ruby]{
r1 = Random.new(1)
a1 = r1.marshal_dump
r2 = Random.new(3)
r3 = r2.marshal_load(a1)
p r1 == r2 # => true
p r1 == r3 # => true
//}
@see Random#marshal_dump... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (6124.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
:: Context # use _ loader -> bool (6123.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) (6123.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?... -
IRB
:: Context # use _ loader? -> bool (6123.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
Gem
:: Version # marshal _ load(array) -> nil (6114.0) -
ダンプされた情報をロードし、自身を破壊的に変更します。
...ダンプされた情報をロードし、自身を破壊的に変更します。
//emlist[][ruby]{
version = Gem::Version.new('')
version.marshal_load(["1.2.0a"])
p version # => #<Gem::Version "1.2.0a">
//}
@param array バージョン情報を含む配列を指定します。... -
Rake
:: Application # add _ loader(ext , loader) (6113.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...れた拡張子で終わるファイル名のファイルをロードするためのローダーを
自身に追加します。
@param ext 拡張子を指定します。
@param loader ローダーを指定します。
//emlist[例][ruby]{
require "rake/loaders/makefile"
# Rakefile での記載......ask default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("mf", Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake::Task.task_defined?("a") # => false
Rake.application.load_imports...