279件ヒット
[1-100件を表示]
(0.178秒)
ライブラリ
- ビルトイン (99)
- getoptlong (12)
- rake (108)
-
rubygems
/ command (24) -
rubygems
/ commands / build _ command (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ config _ file (12)
クラス
-
Gem
:: Command (24) -
Gem
:: Commands :: BuildCommand (12) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: ConfigFile (12) - GetoptLong (12)
- Module (12)
- Object (30)
- Proc (12)
-
Rake
:: TaskArguments (108) - String (45)
キーワード
- << (9)
- [] (12)
- concat (18)
- curry (12)
-
defaults
_ str (12) - each (12)
-
handle
_ arguments (12) - inspect (12)
- lookup (12)
- names (12)
-
new
_ scope (12) - prepend (18)
-
ruby2
_ keywords (12) - then (14)
-
to
_ hash (12) -
to
_ s (12) -
with
_ defaults (12) -
yield
_ self (16)
検索結果
先頭5件
-
Gem
:: Command # arguments -> String (24202.0) -
このメソッドはサブクラスで再定義されます。 コマンドが取る引数の説明を表示するために使用します。
このメソッドはサブクラスで再定義されます。
コマンドが取る引数の説明を表示するために使用します。
サブクラスで実装する場合は、一つの引数につき一行で、左揃えの文字列を返すようにしてください。 -
Gem
:: Commands :: BuildCommand # arguments -> String (24202.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # arguments -> String (24202.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: ConfigFile # handle _ arguments(arg _ list) (12202.0) -
コマンドに渡された引数を処理します。
...コマンドに渡された引数を処理します。
@param arg_list コマンドに渡された引数の配列を指定します。... -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (9125.0) -
パラメータにデフォルト値をセットします。
...します。
@param defaults デフォルト値として使用するキーと値を格納したハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["va......ents.to_hash # => {:name1=>"value1", :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
//}... -
Rake
:: TaskArguments # to _ hash -> Hash (9113.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 # inspect -> String (9101.0) -
自身を人間に読みやすい文字列にして返します。
...自身を人間に読みやすい文字列にして返します。
@see Hash#inspect... -
Rake
:: TaskArguments # to _ s -> String (9101.0) -
自身を人間に読みやすい文字列にして返します。
...自身を人間に読みやすい文字列にして返します。
@see Hash#inspect... -
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (6231.0) -
与えられたパラメータ名のリストを使用して新しい Rake::TaskArguments を作成します。
...使用して新しい Rake::TaskArguments を作成します。
@param names パラメータ名のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["va......lue1", "value2"])
new_arguments = arguments.new_scope(["name3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}...