1294件ヒット
[201-300件を表示]
(0.256秒)
種類
- インスタンスメソッド (872)
- 特異メソッド (233)
- クラス (93)
- モジュール関数 (52)
- 定数 (44)
クラス
-
ARGF
. class (11) - Array (129)
- Bignum (3)
-
Encoding
:: Converter (22) - Enumerator (29)
-
Enumerator
:: ArithmeticSequence (6) -
Enumerator
:: Chain (12) -
Enumerator
:: Lazy (11) - File (55)
-
File
:: Stat (44) - Fixnum (3)
- Hash (22)
- Integer (22)
- MatchData (22)
- Method (44)
- Object (44)
- Proc (6)
- Random (26)
- Range (33)
-
RubyVM
:: InstructionSequence (33) - String (211)
- Struct (33)
- Symbol (22)
-
Thread
:: Queue (18) -
Thread
:: SizedQueue (111) - UnboundMethod (66)
モジュール
- FileTest (41)
- GC (22)
-
GC
:: Profiler (33) - Kernel (11)
- Process (22)
オブジェクト
- ENV (34)
キーワード
- << (15)
- == (22)
- ArgumentError (11)
- ConditionVariable (9)
- EMSGSIZE (11)
-
INTERNAL
_ CONSTANTS (11) - IO (11)
- Numeric (11)
- OPTS (11)
-
RLIMIT
_ FSIZE (11) -
RLIMIT
_ SBSIZE (11) - SizedQueue (18)
- Stat (11)
- String (11)
- [] (77)
- arity (22)
- binmode (11)
-
bit
_ length (11) - blksize (11)
- bsearch (44)
- byterindex (2)
- bytes (17)
- bytesize (11)
- clone (11)
- close (9)
- deq (9)
- disasm (11)
- disassemble (11)
-
each
_ grapheme _ cluster (14) -
each
_ index (22) - empty? (15)
- enq (9)
-
enum
_ for (22) - eql? (22)
- hash (22)
- length (93)
- max (9)
- max= (9)
- name (11)
- new (96)
- pack (19)
- pop (9)
-
primitive
_ convert (22) - push (9)
-
raw
_ data (11) -
raw
_ seed (2) - report (11)
- require (11)
- result (11)
- rindex (11)
- shift (9)
- size? (33)
- slice (66)
-
to
_ a (11) -
to
_ enum (22) -
to
_ h (12) - transpose (11)
- truncate (22)
- unpack (11)
- urandom (7)
- zero? (11)
検索結果
先頭5件
-
FileTest
. # size?(file) -> Integer | nil (14121.0) -
ファイルのサイズを返します。ファイルが存在しない時や ファイルのサイズが0の時には nil を返します。
...定された IO オブジェクト file が既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
FileTest.size?("testfile") # => 4
File.delete("testfile")
FileTest.size?("testfile") # => nil
//}
@see FileTest.#size, FileTest.#zero?... -
File
. size?(path) -> Integer | nil (14119.0) -
FileTest.#size? と同じです。
...FileTest.#size? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
String
# bytesize -> Integer (14114.0) -
文字列のバイト長を整数で返します。
...文字列のバイト長を整数で返します。
//emlist[例][ruby]{
#coding:UTF-8
# 実行結果は文字コードによって異なります。
p "いろは".size #=> 3
p "いろは".bytesize #=> 9
//}
@see String#size... -
File
:: Stat # blksize -> Integer (14102.0) -
望ましいI/Oのブロックサイズを返します。
...望ましいI/Oのブロックサイズを返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.blksize #=> nil
//}... -
Process
:: RLIMIT _ FSIZE -> Integer (14102.0) -
リソースの種類がプロセスが生成するファイルのサイズであることを示す定数です。
リソースの種類がプロセスが生成するファイルのサイズであることを示す定数です。
Process.#getrlimit、Process.#setrlimit で使われます。
システムによっては定義されていません。 -
Process
:: RLIMIT _ SBSIZE -> Integer (14102.0) -
リソースの種類がソケットバッファのサイズであることを示す定数です。
リソースの種類がソケットバッファのサイズであることを示す定数です。
Process.#getrlimit、Process.#setrlimit で使われます。
システムによっては定義されていません。 -
Errno
:: EMSGSIZE (14002.0) -
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。 -
SizedQueue (14002.0)
-
Alias of Thread::SizedQueue
...Alias of Thread::SizedQueue... -
Thread
:: SizedQueue (14002.0) -
サイズの最大値を指定できる Thread::Queue です。
...3 より。q をサイズ 1 の SizedQueue オブジェクトに
することによって、入力される行と出力される行が同じ順序になります。
q = [] にすると入力と違った順序で行が出力されます。
require 'thread'
q = SizedQueue.new(1)
th = Thread.s... -
Thread
:: SizedQueue . new(max) -> Thread :: SizedQueue (11102.0) -
Thread::SizedQueue オブジェクトを生成します。
...Thread::SizedQueue オブジェクトを生成します。
@param max キューのサイズの最大値です。...