984件ヒット
[1-100件を表示]
(0.145秒)
ライブラリ
- ビルトイン (348)
-
cgi
/ html (22) - digest (11)
-
digest
/ sha2 (11) -
net
/ http (154) - openssl (55)
- optparse (22)
- pathname (66)
- psych (77)
- shell (30)
-
shell
/ command-processor (12) -
shell
/ filter (24) -
shell
/ process-controller (6) - socket (22)
- thread (11)
- thwait (6)
- tsort (43)
クラス
- Array (22)
-
Digest
:: Base (11) -
Digest
:: SHA2 (11) - Exception (11)
- File (11)
- Hash (11)
- Module (5)
-
Net
:: HTTP (154) - Object (44)
-
OpenSSL
:: Cipher (11) -
OpenSSL
:: Digest (11) - OptionParser (22)
- Pathname (66)
-
Psych
:: Handler (22) -
Psych
:: Nodes :: Mapping (22) -
Psych
:: Nodes :: Sequence (22) -
RubyVM
:: InstructionSequence (11) - Shell (30)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (24) -
Shell
:: ProcessController (6) - Socket (11)
- String (94)
- Thread (65)
-
Thread
:: Queue (11) -
Thread
:: SizedQueue (63) - ThreadsWait (6)
モジュール
-
CGI
:: HtmlExtension (22) - Kernel (11)
-
OpenSSL
:: SSL (33) -
Socket
:: Constants (11) - TSort (43)
キーワード
- << (10)
- Emitter (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
OP
_ NETSCAPE _ CHALLENGE _ BUG (11) -
OP
_ NETSCAPE _ REUSE _ CIPHER _ CHANGE _ BUG (11) -
OP
_ SSLEAY _ 080 _ CLIENT _ DH _ BUG (11) -
TCP
_ NOPUSH (22) - backtrace (11)
-
backtrace
_ locations (33) -
blk
_ orphan (11) -
block
_ append (11) -
block
_ length (33) -
block
_ output _ synchronize (6) -
block
_ size (11) - blockdev? (29)
- blockquote (22)
- chars (22)
- chdir (6)
-
default
_ proc (11) - deq (11)
- each (6)
-
each
_ char (22) -
each
_ codepoint (22) -
each
_ grapheme _ cluster (14) -
each
_ line (22) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (21) - enq (10)
-
enum
_ for (22) - foreach (18)
- get (22)
- get2 (22)
-
grapheme
_ clusters (14) - new (22)
-
next
_ wait (6) -
on
_ head (11) -
on
_ tail (11) - open (22)
- opendir (22)
- out (6)
- permutation (22)
- pop (11)
- post (22)
- post2 (22)
- push (10)
- pushd (6)
- pushdir (6)
-
rb
_ scan _ args (11) -
report
_ on _ exception (16) -
report
_ on _ exception= (16) -
request
_ get (22) -
request
_ post (22) -
ruby 1
. 6 feature (11) -
ruby2
_ keywords (5) - shift (22)
- start (22)
-
start
_ mapping (11) -
start
_ sequence (11) -
to
_ a (11) -
to
_ enum (22) -
tsort
_ each (11) -
untrace
_ var (11)
検索結果
先頭5件
-
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"
IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line
# => #<Enumerator: IO:foreach("testfile")>
//}
//emlist[例 ブロックを指定][ruby]{
require "pathname"
IO.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"
IO.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"
IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(",") {|f| p f }
# => "line1\nline2,"
# => "\nline3\n"
//}
@see IO.foreach...