るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.124秒)
トップページ > クエリ:i[x] > クエリ:class[x] > バージョン:2.1.0[x] > クラス:NilClass[x] > クエリ:to_c[x]

別のキーワード

  1. argf.class lines
  2. argf.class each
  3. argf.class each_line
  4. argf.class to_a
  5. class new

ライブラリ

検索結果

NilClass#to_c -> Complex (72391.0)

0+0i を返します。

0+0i を返します。

//emlist[例][ruby]{
nil.to_c # => (0+0i)
//}