るりまサーチ

最速Rubyリファレンスマニュアル検索!
148件ヒット [101-148件を表示] (0.018秒)

別のキーワード

  1. rss date
  2. rss date=
  3. date rfc3339
  4. date iso8601
  5. date jisx0301

ライブラリ

クラス

モジュール

検索結果

<< < 1 2 >>

OpenSSL::X509::V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD -> Integer (12201.0)

CRL の nextUpdate フィールドの値が不正である ことを意味します。

...CRL の nextUpdate フィールドの値が不正である
ことを意味します。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。...

NEWS for Ruby 2.7.0 (42.0)

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

...実装から
lazyになりました。7877

//emlist[Enumerator.produce][ruby]{
require "date"
date
s = Enumerator.produce(Date.today, &:succ) #=> infinite sequence of dates
date
s.detect(&:tuesday?) #=> next Tuesday
//}
//emlist[Enumerator::Lazy#eager][ruby]{
a = %w(foo bar baz)
e = a.lazy.map {|x|...
.../ruby/ruby/pull/2226

* CSV
* 3.1.2に更新されました。
https://github.com/ruby/csv/blob/master/NEWS.md

* Date
* Date.jisx0301, Date#jisx0301, Date.parseが新しい日本の年号を
サポートしました。 15742

* Delegator
* Object#DelegateClassがブロ...

リテラル (30.0)

リテラル * num * string * backslash * exp * char * command * here * regexp * array * hash * range * symbol * percent

...タ a を表す String

: ?\M-\C-a

メタ-コントロール a を表す String

===[a:command] コマンド出力

//emlist[例][ruby]{
`date`
%x{ date }
//}

バッククォート(`)で囲まれた文字列は、ダブルクォー
トで囲まれた文字列と同様にbackslash
の解釈とexp...
...

//emlist[][ruby]{
print <<EOS # 識別子 EOS までがリテラルになる
the string
next
line
EOS
//}

これは以下と同じです。

//emlist[][ruby]{
print " the string\n next line\n"
//}

ヒアドキュメントでは、開始ラベル `<<識別子' が文法要素とし...
...print <<EOS
The price is #{$price}.
EOS

# 式展開はできない
print <<'EOS'
The price is #{$price}.
EOS

# コマンドを実行
print <<`EOC`
date

diff test.c.org test.c
EOC
//}

文字列リテラルのそれぞれの性質に関しては
string、
exp、
backslash、
command
を参照して...

Enumerator.produce(initial = nil) { |prev| ... } -> Enumerator (18.0)

与えられたブロックを呼び出し続ける、停止しない Enumerator を返します。 ブロックの戻り値が、次にブロックを呼び出す時に引数として渡されます。 initial 引数が渡された場合、最初にブロックを呼び出す時にそれがブロック 呼び出しの引数として渡されます。initial が渡されなかった場合は nil が 渡されます。

...です。任意のオブジェクトを渡せます。

//emlist[例][ruby]{
# 1, 2, 3, 4, ... と続く Enumerator
Enumerator.produce(1, &:succ)

# next を呼ぶたびランダムな数値を返す Enumerator
Enumerator.produce { rand(10) }

# ツリー構造の祖先ノードを列挙する Enume...
...て使えるでしょう。

//emlist[Enumerable のメソッドと組み合わせる例][ruby]{
# 次の火曜日を返す例
require "date"
Enumerator.produce(Date.today, &:succ).detect(&:tuesday?)

# シンプルなレキサーの例
require "strscan"
scanner = StringScanner.new("7+38/6")
PATTERN...

NEWS for Ruby 2.2.0 (18.0)

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

...Enumerable#max, Enumerable#max_by
は複数の値を返すためのオプションをサポートしました


* Float
* 追加: Float#next_float
* 追加: Float#prev_float

* File
* 追加: File.birthtime
* 追加: File#birthtime

* File::Stat
* 追加: File::Stat#b...
...の互換性 (機能追加とバグ修正を除く)

* mathn
* 非推奨の警告を表示するようになりました 10169

* ext/date/lib/date/format.rb
* 空だったので削除されました

* digest
* Digest::HMAC は削除されました。OpenSSL::HMAC や外部のgem...
...xmlschema may produce
fixed-offset Time objects.
It is happen when usual localtime doesn't preserve the offset from UTC.
* Time.httpdate は常にUTCのTimeオブジェクトを生成します。
* Time.strptime は引数が日付や時刻の情報を含まない場合、Argument...

絞り込み条件を変える

NEWS for Ruby 3.0.0 (18.0)

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

...the value.
16754

=== `--backtrace-limit` option

The `--backtrace-limit` option limits the maximum length of a backtrace.
8661

== Core classes updates

Outstanding ones only.

* Array
* The following methods now return Array instances instead of subclass instances when called on subclass in...
...!
* String#slice / String#[]
* String#split
* String#squeeze
* String#strip
* String#sub
* String#succ / String#next
* String#swapcase
* String#tr
* String#tr_s
* String#upcase
* Symbol
* Symbol#to_proc now returns a lambda Proc. 162...
...updates

Outstanding ones only.

* BigDecimal
* Update to BigDecimal 3.0.0
* This version is Ractor compatible.
* Bundler
* Update to Bundler 2.2.3
* CGI
* Update to 0.2.0
* This version is Ractor compatible.
* CSV
* Update to CSV 3.1.9
* Date
* Update to Date 3...
<< < 1 2 >>