るりまサーチ

最速Rubyリファレンスマニュアル検索!
16件ヒット [1-16件を表示] (0.055秒)
トップページ > クエリ:IO[x] > クエリ:io[x] > クエリ:DESCRIPTION[x] > クエリ:RUBY_DESCRIPTION[x]

別のキーワード

  1. rss description
  2. rss description=
  3. net/imap description
  4. item description=
  5. item description

種類

ライブラリ

クラス

検索結果

Object::RUBY_DESCRIPTION -> String (36402.0)

Ruby の詳細を表す文字列。

Ruby の詳細を表す文字列。

ruby -v で表示される内容が格納されています。

NEWS for Ruby 2.7.0 (36.0)

NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...omparable#clampや定数やDSLなどで便利かもしれません。
14799

//emlist[][ruby]{
ary[..3] # identical to ary[0..3]

case RUBY_VERSION
when ..."2.4" then puts "EOL"
# ...
end

age.clamp(..100)

where(sales: ..100)
//}

* 「$;」にnil以外の値を設定すると警告が出る...
...重代入でのrescue修飾子が単一の代入と同じ振る舞いになりました。 8279

//emlist[][ruby]{
a, b = raise rescue [1, 2]
# Previously parsed as: (a, b = raise) rescue [1, 2]
# Now parsed as: a, b = (raise rescue [1, 2])
//}

* 特異クラス構文での yield は警...
...* 実験的機能の警告を止める例:

//emlist{
$ ruby -e '0 in a'
-e:1: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!

$ ruby -W:no-experimental -e '0 in a'
//}

* RUBYOPTで両方止めるにはスペース区切りで指定します:

/...