36件ヒット
[1-36件を表示]
(0.027秒)
種類
- インスタンスメソッド (24)
- 文書 (12)
ライブラリ
- rake (24)
クラス
-
Rake
:: TaskArguments (24)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (12) -
with
_ defaults (12)
検索結果
先頭3件
-
Rake
:: TaskArguments # to _ hash -> Hash (29125.0) -
パラメータ名と対応する値を格納したハッシュを返します。
...納したハッシュを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.to_hash # => {:name1=>"value1", :name2=>"value2"}
end
//}... -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (11030.0) -
パラメータにデフォルト値をセットします。
...たハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.to_hash # => {:name1=>"v......alue1", :name2=>"value2"}
arguments.with_defaults({ default_key: "default_value"}) # => {:default_key=>"default_value", :name1=>"value1", :name2=>"value2"}
arguments.to_hash # => {:default_key=>"default_value", :name1=>"value1", :name2=>"value2"}
end
//}... -
NEWS for Ruby 2
. 0 . 0 (30.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...を一つ受け取るようになりました
* 新規クラス: Enumerator::Lazy 遅延列挙用のクラス
* ENV
* ENV.to_h は ENV.to_hash へのエイリアスです
* Fiber
* 非互換: Fiber#resume は Fiber#transfer を呼び出したファイバーを再開できなくな......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 に更新...