48件ヒット
[1-48件を表示]
(0.017秒)
種類
- インスタンスメソッド (24)
- モジュール (12)
- 文書 (12)
ライブラリ
- rake (36)
モジュール
-
Rake
:: Cloneable (24)
キーワード
- Cloneable (12)
-
NEWS for Ruby 2
. 0 . 0 (12) - dup (12)
検索結果
先頭4件
-
Rake
:: Cloneable # clone -> object (32143.0) -
自身を複製します。
...ています。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
clone = file_list.clone
clone # => ["a.c", "b.c"]
clone.exclude("a.c")
clone == file_list # => false
end
//}... -
Rake
:: Cloneable (17000.0) -
簡単に複製したオブジェクトを作成できるようにするための Mixin モジュールです。
簡単に複製したオブジェクトを作成できるようにするための
Mixin モジュールです。 -
Rake
:: Cloneable # dup -> object (14036.0) -
自身と同じクラスのオブジェクトを作成後、自身のインスタンス変数を 全て新たに作成したオブジェクトにコピーします。
...][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.freeze
dup = file_list.dup
clone = file_list.clone
dup.exclude("a.c") # => ["b.c"]
clone.exclude("a.c") # => can't modify frozen Rake::FileList... -
NEWS for Ruby 2
. 0 . 0 (30.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...respond_to? against a protected method now returns false
unless the second argument is true.
* Object#respond_to_missing?, Object#initialize_clone, Object#initialize_dup
* private になりました
* Thread#join, Thread#value
* 上を参照
* Mutex#lock, Mutex#unlock, Mutex#try......Enumerator を返すようになりました
* rake
* 0.9.5 に更新
* This version is backwards-compatible with previous rake versions and
contains many bug fixes.
* See http://rake.rubyforge.org/doc/release_notes/rake-0_9_5_rdoc.html
* rdoc
* 4.0 に更新...