このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.1.0 リファレンスマニュアル

singleton method BigDecimal.new

new(s) -> BigDecimal[permalink][rdoc]
new(s, n) -> BigDecimal

このメソッドは deprecated です。Kernel.#BigDecimal を使用してください。

新しい BigDecimal オブジェクトを生成します。

詳しくは Kernel.#BigDecimal を参照してください。