るりまサーチ

最速Rubyリファレンスマニュアル検索!
736件ヒット [701-736件を表示] (0.064秒)
トップページ > クエリ:-[x] > クエリ:DEPRECATED[x]

別のキーワード

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

ライブラリ

モジュール

オブジェクト

検索結果

<< < ... 6 7 8 >>

Warning.[](category) -> bool (106.0)

...を返します。

@param category 警告の種類を指定します。

サポートされている category は以下の通りです。

: :deprecated
非推奨の警告。
例: nil ではない値を $, や $; に設定する、キーワード引数、ブロックなしで proc / lambda を...

Warning.categories -> Array (106.0)

警告カテゴリの一覧を返します。

...警告カテゴリの一覧を返します。

//emlist[][ruby]{
Warning.categories # => [:deprecated, :experimental, :performance, :strict_unused_block]
//}...

演算子式 (42.0)

演算子式 * assign * selfassign * multiassign * range * range_cond * and * or * not * cond

...あります。

高い ::
[]
+(単項) ! ~
**
-
(単項)
* / %
+ -
<< >>
&
| ^
> >= < <=
<=> =...
...= === != =~ !~
&&
||
.. ...
?:(条件演算子)
=(+=, -= ... )
not
低い and or

左の「高い」「低い」は演算子の優先順位です。
例えば「&&」は「||」よ...
...舞います。
フリップフロップ (flip-flop) とも呼ばれます。

この振る舞いは 2.6.0 で deprecated になりましたが、元に戻りました。
そのため、2.6.0 から 2.6.3 では使うと「warning: flip-flop is deprecated」という警告がでます。

「..」...

REXML::Document.entity_expansion_text_limit=(val) (36.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...トは 10240 (byte) です。

このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_text_limit= を使ってください。

@see REXML::Document.entity_expansion_text_limit
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

DateTime (30.0)

日付だけでなく時刻も扱える Date のサブクラスです。

...クラスです。

DateTime は deprecated とされているため、
Timeを使うことを推奨します。

=== 簡単なつかいかた

require 'date'

a = DateTime.new(1993, 2, 24, 12, 30, 45)
b = DateTime.parse('1993-02-24T12:30:45')
b += 10

b - a #=> 10
b.year...
...#=> 1993
b.strftime('%a') #=> "Sat"

yesterday = DateTime.now - 1...

絞り込み条件を変える

mathn (18.0)

Rational と Complex をよりシームレスに利用できるようにするライブラリです。数値ライブラリの挙動をグローバルに変更します。

...ラリです。数値ライブラリの挙動をグローバルに変更します。

なお、このライブラリはRuby 2.2から非推奨(deprecated)になり、Ruby 2.5で削除されました。
引き続き利用するには mathn gem をインストールしてください。

* 整数の...
...うな演算が Complex オブジェクトを返す場合もあります。

例:
Complex(0,-1)**2 #=> Complex(-1,0)
Math.sqrt(-1) #=> NaN

require 'mathn'
Complex(0,-1)**2 #=> -1
Math.sqrt(-1) #=> Complex(0,1)

=== 使用上の注意
なお、この挙動は、グローバルに影...
<< < ... 6 7 8 >>