るりまサーチ

最速Rubyリファレンスマニュアル検索!
207件ヒット [1-100件を表示] (0.078秒)

別のキーワード

  1. openssl sequence
  2. sequence new
  3. asn1 sequence
  4. sequence any
  5. sequence tag

検索結果

<< 1 2 3 > >>

Enumerator::ArithmeticSequence#end -> Numeric | nil (21102.0)

末項(終端)を返します。

...末項(終端)を返します。

@see Enumerator::ArithmeticSequence#begin...

Psych::Handler#end_sequence -> () (12219.0)

sequence の終了の見付けたときに呼び出されます。

...
sequence
の終了の見付けたときに呼び出されます。

必要に応じてこのメソッドを override してください。...

Enumerator::ArithmeticSequence#exclude_end? -> bool (9102.0)

末項(終端)を含まないとき真を返します。

末項(終端)を含まないとき真を返します。

TracePoint#instruction_sequence -> RubyVM::InstructionSequence (6220.0)

script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。

...ルされた
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 :scrip...

Encoding::InvalidByteSequenceError#incomplete_input? -> bool (3013.0)

エラー発生時に入力文字列が不足している場合に真を返します。

...ing::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
end


begin
ec.convert("abc\xA1")
ec.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplet...
...e "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
end

//}...

絞り込み条件を変える

Enumerator::ArithmeticSequence#==(other) -> bool (3013.0)

Enumerable::ArithmeticSequence として等しいか判定します。

...Enumerable::ArithmeticSequence として等しいか判定します。

other が Enumerable::ArithmeticSequence
begin, end, step, exclude_end? が等しい時に
true を返します。

@param other 自身と比較する Enumerable::ArithmeticSequence...

Enumerator::ArithmeticSequence#hash -> Integer (3013.0)

自身のハッシュ値を返します。

...自身のハッシュ値を返します。

begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence
同じハッシュ値を返します。...

RubyVM::InstructionSequence#base_label -> String (3013.0)

self が表す命令シーケンスの基本ラベルを返します。

...RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "hello, world"
end


# irb
> iseq =...
...RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.base_label # => "<main>"

例3:

# /tmp/method2.rb
def hello
puts "hello, world"
end


RubyVM::InstructionSequence.of(method(:hello)).base_label
# => "hello"

@see RubyVM::InstructionSequence#label...

RubyVM::InstructionSequence#label -> String (3013.0)

self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。

...q = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "hello, world"
end


# irb
> iseq = R...
...ubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.label # => "<main>"

例3:

# /tmp/method2.rb
def hello
puts "hello, world"
end


RubyVM::InstructionSequence.of(method(:hello)).label
# => "hello"

@see RubyVM::InstructionSequence#base_label...

Encoding::InvalidByteSequenceError#error_bytes -> String (3007.0)

エラー発生時に捨てられたバイト列を返します。

...\xFFdef")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP>
puts $!.error_bytes.dump #=> "\xA1"
puts $!.readagain_bytes.dump #=> "\xFF"
end

//}

@see Encoding::InvalidByteSequenceError#readagain_bytes...

絞り込み条件を変える

Enumerator::ArithmeticSequence#begin -> Numeric (3007.0)

初項 (始端) を返します。

...初項 (始端) を返します。

@see Enumerator::ArithmeticSequence#end...

Enumerator::ArithmeticSequence#begin -> Numeric | nil (3007.0)

初項 (始端) を返します。

...初項 (始端) を返します。

@see Enumerator::ArithmeticSequence#end...
<< 1 2 3 > >>