るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

ライブラリ

クラス

モジュール

キーワード

検索結果

Net::FTP::MLSxEntry#create -> Time|nil (21302.0)

エントリの作成時刻を返します。

エントリの作成時刻を返します。

情報がない場合は nil を返します。

CGI::QueryExtension#create_body(is_large) -> StringIO | Tempfile (6402.0)

Net::FTP::MLSxEntry#facts -> { String => String|Integer|Time } (3414.0)

そのエントリの「facts」を返します。

...Time)
* "create": 作成時刻
* "perm": パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir" など)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メ...
...ディアタイプ (String)
* "charset": 文字エンコーディング (String)

サーバが UNIX 系 OS の場合は以下のような facts が
使える可能性があります。

* "unix.mode": ファイルモード(Integer)
* "unix.group": グループ(Integer)
* "unix.owner": ファ...

NEWS for Ruby 3.0.0 (324.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...
...osplatting. This now matches the behavior of Procs
accepting a single rest argument and no keywords.
16166

//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}

pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]

pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 =>...
...atching (`case/in`) is no longer experimental. 17260
* One-line pattern matching is redesigned. [EXPERIMENTAL]
* `=>` is added. It can be used like a rightward assignment.
17260
* `in` is changed to return `true` or `false`. 17371

//emlist{
0 => a
p a #=> 0

{b: 0, c: 1...