るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Gem::Specification::NONEXISTENT_SPECIFICATION_VERSION -> -1 (27502.0)

明確に指定されていない時の gemspec のバージョンを表します。

明確に指定されていない時の gemspec のバージョンを表します。

StringScanner::Version -> String (24313.0)

StringScanner クラスのバージョンを文字列で返します。 この文字列は Object#freeze されています。

...StringScanner クラスのバージョンを文字列で返します。
この文字列は Object#freeze されています。

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

StringScanner::Version # => "0.7.0"
StringScanner::Version.frozen? # => true
//}...

Ripper::Version -> String (24301.0)

ripper のバージョンを文字列で返します。

ripper のバージョンを文字列で返します。

Gem::Specification#specification_version -> Integer (21401.0)

この Gem パッケージに用いられている gemspec のバージョンを返します。

この Gem パッケージに用いられている gemspec のバージョンを返します。

Gem::Specification::CURRENT_SPECIFICATION_VERSION -> 2 (21401.0)

現在の gemspec のバージョンを表す定数です。

現在の gemspec のバージョンを表す定数です。

絞り込み条件を変える

Gem::Specification::SPECIFICATION_VERSION_HISTORY -> Hash (21401.0)

gemspec ファイルのバージョンの歴史を表す定数です。

gemspec ファイルのバージョンの歴史を表す定数です。

OpenSSL::PKey::EC::Group#point_conversion_form -> Symbol (18400.0)

点のエンコーディング方式を返します。

...:compressed
* :uncompressed
* :hybrid
詳しくは X9.62 (ECDSA) などを参照してください。

@raise OpenSSL::PKey::EC::Group::Error 得られたエンコーディングが未知の値であった
場合に発生します。
@see OpenSSL::PKey::EC::Group#point_conversion_form=...

Encoding::UndefinedConversionError (18114.0)

エンコーディング変換後の文字が存在しない場合に発生する例外。

...ない場合に発生する例外。

UTF-8 にしかない文字を EUC-JP に変換しようとした場合などに発生します。

//emlist[例][ruby]{
"\u2603".encode(Encoding::EUC_JP)
#=> Encoding::UndefinedConversionError: U+2603 from UTF-8 to EUC-JP
//}


変換が多段階でなされ、...
...ncoding::Converter.new("ISO-8859-1", "EUC-JP")
# ISO-8859-1 -> UTF-8 -> EUC-JP
begin
ec.convert("\xa0")
# NO-BREAK SPACE, which is available in UTF-8 but not in EUC-JP.
rescue Encoding::UndefinedConversionError
p $!.source_encoding #=> #<Encoding:UTF-8>
p $!.destination_encoding...
...#=> #<Encoding:EUC-JP>
p $!.source_encoding_name #=> "UTF-8"
p $!.destination_encoding_name #=> "EUC-JP"
puts $!.error_char.dump #=> "\u{a0}"
p $!.error_char.encoding #=> #<Encoding:UTF-8>
end
//}...

WEBrick::HTTPResponse#request_http_version -> WEBrick::HTTPVersion (15517.0)

リクエストの HTTP バージョンを返します。 デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。

...リクエストの HTTP バージョンを返します。
デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。...

WEBrick::HTTPResponse#http_version -> WEBrick::HTTPVersion (15513.0)

レスポンスの HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトを返します。

...ョンを表す WEBrick::HTTPVersion オブジェクトを返します。

require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
p res.http_version.class #=> WEBrick::HTTPVersion
p res.http_version.to_s...

絞り込み条件を変える

<< 1 2 3 ... > >>