るりまサーチ

最速Rubyリファレンスマニュアル検索!
26件ヒット [1-26件を表示] (0.067秒)
トップページ > クエリ:tr[x] > クエリ:encoding[x] > クエリ:name[x] > クエリ:to_s[x]

別のキーワード

  1. _builtin name
  2. resolv each_name
  3. openssl name
  4. win32ole name
  5. net/imap name

ライブラリ

クラス

検索結果

Encoding#name -> String (27214.0)

エンコーディングの名前を返します。

...エンコーディングの名前を返します。

//emlist[例][ruby]{
Encoding
::UTF_8.name #=> "UTF-8"
//}...

Encoding#to_s -> String (27214.0)

エンコーディングの名前を返します。

...エンコーディングの名前を返します。

//emlist[例][ruby]{
Encoding
::UTF_8.name #=> "UTF-8"
//}...

NEWS for Ruby 3.0.0 (54.0)

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

...リンク先を参照してください。

== 言語仕様の変更

* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argu...
...ir values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocki...
...s performance, and usability.

//emlist[][ruby]{
# test.rb
def foo(x)
if x > 10
x.to_s
else
nil
end
end

foo(42)
//}

//emlist{
$ typeprof test.rb
# Classes
class Object
def foo : (Integer) -> String?
end
//}

== Miscellaneous changes

* Methods using `ruby2_keywords` will no longe...