1352件ヒット
[1-100件を表示]
(0.105秒)
ライブラリ
- ビルトイン (462)
- etc (12)
- fiddle (360)
-
fiddle
/ import (24) - openssl (240)
- pathname (12)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (72)
- stringio (38)
- strscan (48)
- zlib (24)
クラス
-
ARGF
. class (38) - Data (18)
-
Fiddle
:: CStruct (12) -
Fiddle
:: Pointer (348) - IO (38)
- Module (12)
-
OpenSSL
:: PKey :: EC (24) -
OpenSSL
:: PKey :: EC :: Group (48) -
OpenSSL
:: PKey :: EC :: Point (144) - Pathname (12)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Socket (36)
- String (48)
- StringIO (38)
- StringScanner (48)
- Struct (48)
- TracePoint (248)
-
Zlib
:: Inflate (24)
モジュール
- Etc (12)
-
Fiddle
:: Importer (12) -
Socket
:: Constants (36)
キーワード
- + (12)
- +@ (12)
- - (12)
- -@ (12)
- <=> (12)
- == (24)
-
AF
_ PPP (24) - Error (12)
-
IFF
_ POINTOPOINT (24) -
PF
_ PPP (24) - Pointer (12)
-
SC
_ 2 _ PBS _ CHECKPOINT (12) - TracePoint (12)
- [] (54)
- []= (24)
- binding (12)
-
callee
_ id (12) -
check
_ point (18) - codepoints (66)
- define (6)
-
defined
_ class (12) -
dh
_ compute _ key (12) - disable (24)
-
each
_ codepoint (96) - enable (24)
- enabled? (12)
- eql? (24)
-
eval
_ script (7) - event (12)
-
finish
_ all _ jobs (18) - free (12)
- free= (12)
- generator (12)
- group (12)
-
import
_ symbol (12) - infinity? (12)
- inspect (12)
-
instruction
_ sequence (7) - invert! (12)
-
is
_ pointer _ to _ heap (12) - lineno (12)
-
make
_ affine! (12) - malloc (12)
-
method
_ id (12) - mountpoint? (12)
- new (102)
- null? (12)
-
on
_ curve? (12) - parameters (7)
- path (12)
-
point
_ conversion _ form (12) -
point
_ conversion _ form= (12) - pointer (12)
- pointer= (12)
- pos (12)
- pos= (12)
- ptr (12)
-
public
_ key (12) -
raised
_ exception (12) - ref (12)
-
return
_ value (12) -
ruby2
_ keywords (12) - self (12)
-
set
_ generator (12) -
set
_ to _ infinity! (12) - size (12)
- size= (12)
- stat (11)
- sync (12)
-
sync
_ point? (12) -
to
_ bn (12) -
to
_ i (12) -
to
_ int (12) -
to
_ ptr (24) -
to
_ s (24) -
to
_ str (24) -
to
_ value (12) - trace (12)
- パターンマッチ (12)
検索結果
先頭5件
-
OpenSSL
:: PKey :: EC :: Point (24000.0) -
楕円曲線暗号の公開鍵となる曲線上の点を表します。
楕円曲線暗号の公開鍵となる曲線上の点を表します。 -
Socket
:: Constants :: IFF _ POINTOPOINT (18332.0) -
point-to-point link
...
point-to-point link... -
Socket
:: IFF _ POINTOPOINT (18332.0) -
point-to-point link
...
point-to-point link... -
String
# codepoints {|codepoint| block } -> self (12300.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
..._codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint と同じように動作します。
Ruby 2.6 までは deprecated......の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint... -
String
# each _ codepoint {|codepoint| block } -> self (12300.0) -
文字列の各コードポイントに対して繰り返します。
...ントに対して繰り返します。
UTF-8/UTF-16(BE|LE)/UTF-32(BE|LE) 以外のエンコーディングに対しては
各文字のバイナリ表現由来の値になります。
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 124......31, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}
@see String#codepoints... -
StringIO
# codepoints {|codepoint| . . . } -> self (12300.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringIO
# each _ codepoint {|codepoint| . . . } -> self (12300.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringScanner
# pointer -> Integer (12300.0) -
現在のスキャンポインタのインデックスを返します。
...デックスを返します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.pos # => 0
s.scan(/\w+/) # => "test"
s.pos # => 4
s.scan(/\w+/) # => nil
s.pos # => 4
s.scan(/\s+/) # => " "
s.pos # => 5
//}
@see StringScanner#charpos... -
TracePoint
. trace(*events) {|obj| . . . } -> TracePoint (12300.0) -
新しい TracePoint オブジェクトを作成して自動的にトレースを開始し ます。TracePoint.new のコンビニエンスメソッドです。
...新しい TracePoint オブジェクトを作成して自動的にトレースを開始し
ます。TracePoint.new のコンビニエンスメソッドです。
@param events トレースするイベントを String か Symbol で任
意の数指定します。指定できる値に......ついては
TracePoint.new を参照してください。
//emlist[例][ruby]{
trace = TracePoint.trace(:call) { |tp| [tp.lineno, tp.event] }
# => #<TracePoint:0x007f786a452448>
trace.enabled? # => true
//}
@raise ThreadError ブロックを指定しなかった場合に発生し...