るりまサーチ

最速Rubyリファレンスマニュアル検索!
984件ヒット [1-100件を表示] (0.145秒)
トップページ > クエリ:i[x] > クエリ:h[x] > クエリ:BLOCK[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

Psych::Nodes::Mapping::BLOCK -> Integer (24217.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping...

Psych::Nodes::Sequence::BLOCK -> Integer (21217.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence...

Shell::ProcessController.block_output_synchronize { ... } -> () (18301.0)

@todo

@todo

String#each_codepoint {|codepoint| block } -> self (15401.0)

文字列の各コードポイントに対して繰り返します。

...ます。

//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}

@see String#codepoints...

Digest::Base#block_length -> Integer (15307.0)

ダイジェストのブロック長を取得します。 例えば、Digest::MD5であれば64、Digest::SHA512であれば128です。

...えば、Digest::MD5であれば64、Digest::SHA512であれば128です。

本メソッドは、Digest::MD5などのダイジェストのサブクラスにより、
それぞれの実装に適したものにオーバーライドされます。

例: Digest::MD、Digest::SHA1、Digest::SHA512のブ...
...ロック長を順番に調べる。

require 'digest'
["MD5", "SHA1", "SHA512"].map{|a| Digest(a).new().block_length } # => [64, 128, 128]...

絞り込み条件を変える

Digest::SHA2#block_length -> Integer (15301.0)

ダイジェストのブロック長を返します。

ダイジェストのブロック長を返します。

OpenSSL::Digest#block_length -> Integer (15301.0)

ハッシュ関数のブロックサイズを返します。

ハッシュ関数のブロックサイズを返します。

OpenSSL::Cipher#block_size -> Integer (15201.0)

暗号化のブロックのサイズをバイト数で返します。

暗号化のブロックのサイズをバイト数で返します。

String#each_codepoint -> Enumerator (15201.0)

文字列の各コードポイントに対して繰り返します。

...ます。

//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}

@see String#codepoints...

Pathname#each_line(*args) {|line| ... } -> nil (12316.0)

IO.foreach(self.to_s, *args, &block) と同じです。

...IO.foreach(self.to_s, *args, &block) と同じです。

//emlist[例][ruby]{
require "pathname"

I
O.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line
# => #<Enumerator: IO:foreach("testfile")>
//}

//emlist[例 ブロックを指定][ruby]{
require "pathname"

I
O.write("tes...
...tfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line {|f| p f }

# => "line1\n"
# => "line2,\n"
# => "line3\n"
//}

//emlist[例 limit を指定][ruby]{
require "pathname"

I
O.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(4) {|f| p f }

# => "line"
# => "1\n"...
...# => "line"
# => "2,\n"
# => "line"
# => "3\n"
//}

//emlist[例 sep を指定][ruby]{
require "pathname"

I
O.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(",") {|f| p f }

# => "line1\nline2,"
# => "\nline3\n"
//}

@see IO.foreach...

絞り込み条件を変える

<< 1 2 3 ... > >>