るりまサーチ

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

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer new

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Integer#to_r -> Rational (21100.0)

自身を Rational に変換します。

...自身を Rational に変換します。

//emlist[][ruby]{
1.to_r # => (1/1)
(1<<64).to_r # => (18446744073709551616/1)
//}...

JSON::Ext::Generator::GeneratorMethods::Integer (21016.0)

Alias of JSON::Generator::GeneratorMethods::Integer

...Alias of JSON::Generator::GeneratorMethods::Integer...

JSON::Generator::GeneratorMethods::Integer (21016.0)

Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

...Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。...

Kernel.#Integer(arg, base = 0, exception: true) -> Integer | nil (18458.0)

引数を整数 に変換した結果を返します。

...フィクスは、0b
(2 進数)、0 (8 進数)、0o (8 進数)、0d (10 進数)、0x (16 進
数) です。

@param exception false を指定すると、変換できなかった場合、
例外を発生する代わりに nil を返します。

@raise Argumen...
...数(Integerのサブクラス)を返さなかった場合に発生します。
@raise TypeError 引数に nil を指定した場合に発生します。

//emlist[例][ruby]{
p Integer(4) #=> 4
p Integer(4_000) #=> 4000
p Integer(9.88) #=> 9

p Integer(nil) # can't convert...
...nil into Integer (TypeError)
p Integer(Object.new) # cannot convert Object into Integer (TypeError)

p Integer("10") #=> 10
p Integer("10", 2) #=> 2
p Integer("0d10") #=> 10
p Integer("010") #=> 8
p Integer("0o10") #=> 8
p Integer("0x10") #=> 16
p Integer("0b10") #=> 2...

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

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

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

絞り込み条件を変える

Fiddle::ALIGN_LONG_LONG -> Integer (12301.0)

C の構造体における long long のアライメントの値。

...C の構造体における long long のアライメントの値。...

Fiddle::SIZEOF_LONG_LONG -> Integer (12301.0)

Cでの sizeof(long long) の値

...Cでの sizeof(long long) の値...

Fiddle::TYPE_LONG_LONG -> Integer (12301.0)

C の long long 型を表す定数。

...C の long long 型を表す定数。

unsigned long long を表すには符号を逆転させます。...

Module#const_source_location(name, inherited = true) -> [String, Integer] (12301.0)

name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。

...B.const_source_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]

p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない

p A.const_...
...source_location('C2') # => ["test.rb", 16] -- 最後に定義された位置を返す

p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定...
...を返す

p B.const_source_location('A') # => ["test.rb", 1] -- Object を継承している為
p M.const_source_location('A') # => ["test.rb", 1] -- Object は継承していないが追加で modules をチェックする

p Object.const_source_location('A::C1') # => ["t...

OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION -> Integer (12301.0)

OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の運用を止めたことを意味します。

...OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の運用を止めたことを意味します。

詳しくは 3280 や X.509 を参照してください。...

絞り込み条件を変える

OpenSSL::X509::V_ERR_APPLICATION_VERIFICATION -> Integer (12301.0)

アプリケーションが利用するエラーコードです。

...ので、
アプリケーションプログラマが自由に利用することが可能です。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

@see OpenSSL::X509::Store#verify_callback=,
OpenSSL::X509::StoreContext#error=...
<< < 1 2 3 4 5 ... > >>