608件ヒット
[1-100件を表示]
(0.056秒)
ライブラリ
- ビルトイン (164)
- getoptlong (11)
- logger (1)
- rake (110)
-
rubygems
/ command (22) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / which _ command (11)
クラス
- Data (8)
-
Gem
:: Command (22) -
Gem
:: Commands :: BuildCommand (11) -
Gem
:: Commands :: DependencyCommand (11) - GetoptLong (11)
- Module (5)
- Object (26)
- Proc (27)
-
Rake
:: TaskArguments (99) - String (40)
- Struct (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (8)
- Application (1)
-
EMPTY
_ TASK _ ARGS (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 3
. 0 . 0 (4) - Proc (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- WhichCommand (11)
- [] (18)
- concat (16)
- curry (22)
-
defaults
_ str (11) - each (11)
- inspect (11)
- lambda (17)
- lookup (11)
- names (11)
- new (13)
-
new
_ scope (11) - prepend (16)
- proc (18)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (10) - rubygems (11)
-
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / help _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (11) - then (12)
-
to
_ hash (11) -
to
_ s (11) -
with
_ defaults (11) -
yield
_ self (14) - クラス/メソッドの定義 (11)
- 手続きオブジェクトの挙動の詳細 (11)
検索結果
先頭5件
-
Gem
:: Command # arguments -> String (18201.0) -
このメソッドはサブクラスで再定義されます。 コマンドが取る引数の説明を表示するために使用します。
このメソッドはサブクラスで再定義されます。
コマンドが取る引数の説明を表示するために使用します。
サブクラスで実装する場合は、一つの引数につき一行で、左揃えの文字列を返すようにしてください。 -
Gem
:: Commands :: BuildCommand # arguments -> String (18201.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # arguments -> String (18201.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
ruby 1
. 6 feature (5268.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...グ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) -> stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値の......> ruby 1.6.7 (2002-03-01) [i586-linux]
Errno::EAGAIN
Errno::EWOULDBLOCK
=> ruby 1.6.8 (2002-12-24) [i586-linux]
Errno::EAGAIN
-:2: uninitialized constant EWOULDBLOCK at Errno (NameError)
=> ruby 1.6.8 (2003-02-13) [i586-linux]......puts x[]
=> -:11: [BUG] Segmentation fault
ruby 1.6.5 (2001-09-19) [i586-linux]
=> -:11:in `[]=': wrong # of arguments(1 for 0) (ArgumentError)
from -:11:in `foo'
from -:14
ruby 1.6.5 (2001-10-05) [i586-linux]
: Subclass... -
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (3230.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 # with _ defaults(defaults) -> Hash (3124.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 (3118.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 (3112.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
//}... -
Rake
:: TaskArguments # to _ hash -> Hash (3112.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 # each {|key , val| . . . } -> Hash (3100.0) -
自身に含まれるパラメータ名とそれに対応する値をブロックパラメータとしてブロックを評価します。
自身に含まれるパラメータ名とそれに対応する値をブロックパラメータとしてブロックを評価します。
@see Hash#each