310件ヒット
[1-100件を表示]
(0.020秒)
ライブラリ
- ビルトイン (113)
- logger (1)
- rake (72)
-
rubygems
/ commands / dependency _ command (12)
クラス
- Data (12)
-
Gem
:: Commands :: DependencyCommand (12) - Module (12)
- Proc (6)
-
Rake
:: TaskArguments (72) - String (18)
- Struct (16)
モジュール
- Kernel (37)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - Application (1)
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (5) - Proc (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- [] (22)
- lambda (18)
- names (12)
- new (30)
-
new
_ scope (12) - prepend (18)
- proc (19)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby2
_ keywords (18) - rubygems (12)
-
rubygems
/ commands / dependency _ command (12) -
to
_ hash (12) -
with
_ defaults (12) - クラス/メソッドの定義 (12)
- 手続きオブジェクトの挙動の詳細 (12)
検索結果
先頭5件
-
Gem
:: Commands :: DependencyCommand # arguments -> String (21101.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
String
# prepend(*arguments) -> String (6207.0) -
複数の文字列を先頭に破壊的に追加します。
...複数の文字列を先頭に破壊的に追加します。
@param arguments 追加したい文字列を指定します。
//emlist[例][ruby]{
a = "!!!"
a.prepend # => "!!!"
a # => "!!!"
a = "!!!"
a.prepend "hello ", "world" # => "hello world!!!"
a # => "hello... -
String
# prepend(other _ str) -> String (6102.0) -
文字列 other_str を先頭に破壊的に追加します。
...文字列 other_str を先頭に破壊的に追加します。
@param other_str 追加したい文字列を指定します。
//emlist[例][ruby]{
a = "world"
a.prepend("hello ") # => "hello world"
a # => "hello world"
//}... -
rubygems
/ commands / dependency _ command (6006.0) -
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
...ge: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM 指定したプラットフォームの依存関係を表示します
-R, --[no-]reverse-dependencies......ッグオプションを有効にします
Arguments:
GEMNAME 依存関係を表示する Gem の名前を指定します
Summary:
インストールされている Gem の依存関係を表示します
Defaults:
--local --version '>= 0' --no-reverse-dependencies... -
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (3136.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"], ["value......1", "value2"])
new_arguments = arguments.new_scope(["name3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}... -
Rake
:: TaskArguments . new(names , values , parent = nil) (3048.0) -
自身を初期化します。
...親となる Rake::TaskArguments を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments1 = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments2 = Rake::TaskArguments.new(["name3", "name4"......], ["value3", "value4"], arguments1)
p arguments1 # => #<Rake::TaskArguments name1: value1, name2: value2>
p arguments2 # => #<Rake::TaskArguments name3: value3, name4: value4>
p arguments2["name1"] # => "value1"
p arguments2["name3"] # => "value3"
end
//}... -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (3030.0) -
パラメータにデフォルト値をセットします。
...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"}
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 # [](key) -> object (3024.0) -
与えられたパラメータ名に対応する値を返します。
...の名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments["name1"] # => "value1"
arguments["name2"] # => "value2"
end
//}... -
Rake
:: TaskArguments # names -> Array (3018.0) -
パラメータ名のリストを返します。
...パラメータ名のリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.names # => ["name1", "name2"]
end
//}...