2件ヒット
[1-2件を表示]
(0.040秒)
検索結果
-
Proc
# inspect -> String (54316.0) -
{: since=""}
...{: since=""}
self の文字列表現を返します。
可能なら self を生成したソースファイル名、行番号を含みます。
```ruby title="例"
p Proc.new {
true
}.to_s
# => "#<Proc:0x401a880c -:3>"
```... -
Proc
# to _ s -> String (9016.0) -
{: since=""}
...{: since=""}
self の文字列表現を返します。
可能なら self を生成したソースファイル名、行番号を含みます。
```ruby title="例"
p Proc.new {
true
}.to_s
# => "#<Proc:0x401a880c -:3>"
```...
