887件ヒット
[1-100件を表示]
(0.125秒)
ライブラリ
クラス
- CSV (11)
-
Encoding
:: Converter (88) -
Encoding
:: InvalidByteSequenceError (77) -
Enumerator
:: ArithmeticSequence (84) -
Net
:: IMAP (97) -
Net
:: IMAP :: FetchData (11) -
Net
:: IMAP :: ThreadMember (11) - Numeric (18)
-
OpenSSL
:: ASN1 :: Sequence (11) -
OpenSSL
:: X509 :: Extension (22) -
Psych
:: Handler (22) -
Psych
:: Nodes :: Sequence (88) -
RDoc
:: Context :: Section (11) - Range (12)
-
RubyVM
:: InstructionSequence (214) - Socket (11)
- TracePoint (6)
モジュール
キーワード
- % (6)
- == (6)
- ANY (11)
- BLOCK (11)
- FLOW (11)
- InvalidByteSequenceError (11)
-
MSG
_ FLUSH (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) - SEQUENCE (11)
-
absolute
_ path (11) - anchor (11)
-
base
_ label (11) - begin (6)
- compile (11)
-
compile
_ file (11) -
compile
_ option (11) - copy (11)
-
destination
_ encoding (11) -
destination
_ encoding _ name (11) - disasm (22)
- disassemble (22)
- each (12)
- end (6)
-
error
_ bytes (11) - eval (11)
-
exclude
_ end? (6) - expunge (11)
- fetch (11)
- first (12)
-
first
_ lineno (11) - hash (6)
- implicit (11)
-
incomplete
_ input? (11) - inspect (17)
-
instruction
_ sequence (6) - label (11)
- last (12)
-
last
_ error (11) -
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) - move (9)
-
net
/ imap (11) - new (66)
- of (11)
- path (11)
-
primitive
_ convert (44) -
primitive
_ errinfo (11) - putback (22)
-
readagain
_ bytes (11) - search (11)
- seqno (22)
- sequence (11)
- size (6)
- sort (11)
-
source
_ encoding (11) -
source
_ encoding _ name (11) -
start
_ mapping (11) -
start
_ sequence (11) - step (30)
- store (11)
- style (11)
- tag (11)
-
to
_ a (11) -
to
_ binary (9) -
to
_ json _ raw _ object (11) -
uid
_ sort (11) -
uid
_ thread (11)
検索結果
先頭5件
- Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding - Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String - Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool - OpenSSL
:: ASN1 . # Sequence(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Sequence - Psych
:: Nodes :: Sequence
-
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (21400.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (21400.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (21330.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
...す。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
end
begin
ec.conve......rt("abc\xA1")
ec.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
end
//}... -
OpenSSL
:: ASN1 . # Sequence(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Sequence (18427.0) -
ASN.1 の Sequence 型の値を表現する Ruby のオブジェクトを 生成します。
...の Sequence 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Sequence.new と同じです。
@param value ASN.1値を表すRubyのオブジェクト(OpenSSL::ASN1::ASN1Dataの配列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT......もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)... -
Psych
:: Nodes :: Sequence (18104.0) -
YAML sequence http://yaml.org/spec/1.1/#sequence/syntax を表すクラスです。
...YAML sequence http://yaml.org/spec/1.1/#sequence/syntax を表すクラスです。
YAML sequence とは基本的にはリスト、配列です。以下のような例が考えられます。
%YAML 1.1
---
- I am
- a Sequence
YAML sequence には anchor を付加することができます......es::Sequence#anchor は "A" を返します。
%YAML 1.1
---
&A [
"This sequence",
"has an anchor"
]
tag を付けることもできます。この例では
Psych::Nodes::Sequence#tag は "tag:yaml.org,2002:seq"
(!seq はこの tag の別名)を返します。
%YAML 1.1
---......!seq [
"This sequence",
"has a tag"
]
Psych::Nodes::Sequence は 0 個以上の子ノードを持つことができます。
子ノードは以下のいずれかクラスのインスタンスでなければなりません。
* Psych::Nodes::Sequence
* Psych::Nodes::Mapping
* Psych::... -
TracePoint
# instruction _ sequence -> RubyVM :: InstructionSequence (15507.0) -
script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。
...script_compiledイベント発生時にコンパイルされた
RubyVM::InstructionSequenceインスタンスを返します。
//emlist[例][ruby]{
TracePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval......("puts 'hello'")
end
//}
@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。... -
Encoding
:: InvalidByteSequenceError # readagain _ bytes -> String (15300.0) -
エラー発生時に読み直さなければならないバイト列を返します。
...エラー発生時に読み直さなければならないバイト列を返します。
@see Encoding::InvalidByteSequenceError#error_bytes... -
Encoding
:: InvalidByteSequenceError # source _ encoding -> Encoding (15300.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#destination_encoding,
Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding (15300.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#source_encoding... -
Encoding
:: InvalidByteSequenceError (15024.0) -
文字列がそのエンコーディングにおいて不正なバイト列である場合に発生 する例外。
...である場合に発生
する例外。
通常エンコーディング変換時に発生します。
//emlist[例][ruby]{
"\x82\xa0".force_encoding("cp932").encode("UTF-8")
#=> "あ"
"\x82\xa0".force_encoding("EUC-JP").encode("UTF-8")
#=> Encoding::InvalidByteSequenceError: "\x82" on EUC-JP
//}...