るりまサーチ

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

別のキーワード

  1. _builtin last
  2. fiddle last_error
  3. fiddle last_error=
  4. regexp last_match
  5. range last

ライブラリ

クラス

キーワード

検索結果

Encoding::Converter#last_error -> Exception | nil (18237.0)

直前に変換器で発生した例外に相当する例外オブジェクトを返します。 直前の変換で例外が発生していない場合は nil を返します。

..."iso-8859-1")
p
ec.primitive_convert(src="\xf1abcd", dst="") #=> :invalid_byte_sequence
p
ec.last_error #=> #<Encoding::InvalidByteSequenceError: "\xF1" followed by "a" on UTF-8>
p
ec.primitive_convert(src, dst, nil, 1) #=> :destination_buffer_full
p
ec.last_error #=> nil...

VALUE rb_ary_pop(VALUE ary) (6112.0)

配列 ary の末尾の要素をとりのぞき返します。 空配列のときは Qnil を返します。

...配列 ary の末尾の要素をとりのぞき返します。
空配列のときは Qnil を返します。

対応するRubyコード

val = ary.pop

使用例

last_error
= rb_ary_pop(err_ary);
VALUE str = rb_funcall(last_error, rb_intern("to_s"), 0);...

ruby 1.8.4 feature (84.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...変更
# * [api]: 拡張ライブラリ API
# * [lib]: ライブラリ
* レベル
* [bug]: バグ修正
* [new]: 追加されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
*...
...された(される予定の)機能
* [platform]: 対応プラットフォームの追加

== 目次

* ((<ruby 1.8.4 feature/Ruby本体>))
* ((<ruby 1.8.4 feature/Symbol [bug]>))
* ((<ruby 1.8.4 feature/Symbol [bug]>))
* ((<ruby 1.8.4 feature/super [bug]>))
* ((<ruby 1.8.4 feature/正規...
...values are placed in separate section).
#
# * test/openssl/test_x509ext.rb: new file.
#
# ?

#Tue Nov 01 10:50:17 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * ext/openssl/extconf.rb: should check ERR_peek_last_error().
# [ruby-dev:27597]
#
# * ext/openssl/ossl.c (...