3件ヒット
[1-3件を表示]
(0.081秒)
ライブラリ
- ビルトイン (2)
-
rubygems
/ commands / build _ command (1)
クラス
-
Gem
:: Commands :: BuildCommand (1) - Object (2)
検索結果
先頭3件
-
Gem
:: Commands :: BuildCommand # arguments -> String (63307.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Object
# yield _ self -> Enumerator (18322.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
self を引数としてブロックを評価し、ブロックの結果を返します。
//emlist[例][ruby]{
"my string".yield_self {|s| s.upcase } # => "MY STRING"
3.next.yield_self {|x| x**x }.to_s # => "256"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'
construct_url(arguments).
... -
Object
# yield _ self {|x| . . . } -> object (18322.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
self を引数としてブロックを評価し、ブロックの結果を返します。
//emlist[例][ruby]{
"my string".yield_self {|s| s.upcase } # => "MY STRING"
3.next.yield_self {|x| x**x }.to_s # => "256"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'
construct_url(arguments).
...