るりまサーチ

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

別のキーワード

  1. _builtin length
  2. csv length
  3. dbm length
  4. rss length=
  5. set length

ライブラリ

クラス

モジュール

キーワード

検索結果

CSV::Table#length -> Integer (21125.0)

(ヘッダを除く)行数を返します。

...(ヘッダを除く)行数を返します。

Array#length, Array#size に委譲しています。

//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table
= csv.read
p table.size # => 1
//}

@see Array#length, Array#size...

CSV::Table (18022.0)

CSV::Table は CSV ドキュメントを表す二次元のデータ構造です。 行単位や列単位の操作を行うことが出来ます。また必要であれば CSV に 戻すこともできます。

...CSV::Table は CSV ドキュメントを表す二次元のデータ構造です。
行単位や列単位の操作を行うことが出来ます。また必要であれば CSV に
戻すこともできます。

ヘッダ行の処理が有効である場合、CSV から返されるテーブルは全...
...てこのクラスから
構築されます。

以下のメソッドを Array に委譲します。

* Array#empty?
* Array#length
* Array#size

=== アクセスモード

以下の三種類のモードがあります。

: :col_or_row
デフォルトはこのモードです。このマニ...

CSV::Table#size -> Integer (6025.0)

(ヘッダを除く)行数を返します。

...(ヘッダを除く)行数を返します。

Array#length, Array#size に委譲しています。

//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table
= csv.read
p table.size # => 1
//}

@see Array#length, Array#size...

WEBrick::HTTPStatus::RC_NOT_ACCEPTABLE (3101.0)

HTTP のステータスコードを表す整数です。

HTTP のステータスコードを表す整数です。

require 'webrick'
p WEBrick::HTTPStatus::RC_INTERNAL_SERVER_ERROR #=> 500

ruby 1.8.4 feature (18.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...L [bug]>))
* ((<ruby 1.8.4 feature/fileutils [bug]>))
* ((<ruby 1.8.4 feature/extmk, mkmf [compat]>))
* ((<ruby 1.8.4 feature/mkmf: find_executable() [compat]>))
* ((<ruby 1.8.4 feature/拡張ライブラリAPI>))
* ((<ruby 1.8.4 feature/rb_funcall2() [bug]>))
* ((<ruby 1.8.4 feature/rb_re...
...

: Array#fill [bug]

#Tue Nov 15 14:39:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * array.c (rb_ary_fill): should adjust array length correctly when
# an array is expanded in the fill process. [ruby-core:06625]

Arrayに対してfillとpopを繰り返すとSEGVす...
...7:35:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
#
# * ext/tk/lib/multi-tk.rb: add restriction to access the entried
# command table and manipulate other IPs (for reason of security).
# Now, a IP object can be controlled by only its master IP or the
# default IP....

絞り込み条件を変える

NEWS for Ruby 2.2.0 (12.0)

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

...as a
block, and the number of yielded arguments does not match the formal
arguments of the lambda, if just an array is yielded and its length
matches.

* Process
* Process.spawn のようなプロセスを起動するようなメソッドは [:out, :err]
からリダ...
...m2long は SIGNED_VALUE のかわりに long を返します

* rb_num2ulong は VALUE のかわりに unsigned long を返します

* st hash table は速度のために2のべき乗のサイズを使います。9425.
適切はハッシュ関数を使うと探索は10-25%速くなります...