るりまサーチ

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

別のキーワード

  1. string encode
  2. _builtin encode
  3. string encode!
  4. uri encode_www_form
  5. base64 encode64

ライブラリ

クラス

検索結果

StringScanner#getch -> String | nil (18131.0)

一文字スキャンして文字列で返します。 スキャンポインタをその後ろに進めます。 スキャンポインタが文字列の末尾を指すならnilを返します。

...//emlist[例][ruby]{
require 'strscan'

utf8 = "\u{308B 3073 3044}"
s = StringScanner.new(utf8.encode("UTF-8"))
p s.getch # => "る"
p s.getch # => "び"
p s.getch # => "い"
p s.getch # => nil
//}...

NEWS for Ruby 2.0.0 (18.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...* 削除しました。String#encode を使ってください。

* io/console
* 追加: IO#cooked which sets the terminal to cooked mode within the given block.
* 追加: IO#cooked! which sets the terminal to cooked.
* 拡張: IO#raw, IO#raw!, IO#getch キーワード引数 :min, :t...
...AP.default_imaps_port

* objspace
* 追加: ObjectSpace.#reachable_objects_from

* openssl
* Consistently raise an error when trying to encode nil values. All instances
of OpenSSL::ASN1::Primitive now raise TypeError when calling to_der on an
instance whose value is nil. All...
...nSSL::SSL::OP_ALL only. This enables the countermeasure for
the BEAST attack by default.
* OpenSSL requires passwords for decrypting PEM-encoded files to be at least
four characters long. This led to awkward situations where an export with
a password with fewer than four charac...