るりまサーチ

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

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

クラス

キーワード

検索結果

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

FalseClass#^(other) -> bool (3006.0)

other が真なら true を, 偽なら false を返します。

...です。

^ は再定義可能な演算子に分類されていますので、通常は false ^ other の形で使われます。

//emlist[例][ruby]{
p false ^ true #=> true
p false ^ false #=> false
p false ^ nil #=> false
p false ^ (1 == 1) #=> true
p false ^ (1 + 1) #=> true

p fa...

FalseClass#inspect -> String (3006.0)

常に文字列 "false" を返します。

...常に文字列 "false" を返します。

//emlist[例][ruby]{
false.to_s # => "false"
//}...

FalseClass#to_s -> String (3006.0)

常に文字列 "false" を返します。

...常に文字列 "false" を返します。

//emlist[例][ruby]{
false.to_s # => "false"
//}...

FalseClass#|(other) -> bool (3006.0)

other が真なら true を, 偽なら false を返します。

...です。

| は再定義可能な演算子に分類されていますので、通常は false | other の形で使われます。

//emlist[例][ruby]{
p false | true #=> true
p false | false #=> false
p false | nil #=> false
p false | (1 == 1) #=> true
p false | (1 + 1) #=> true

p fa...

JSON::Generator::GeneratorMethods::FalseClass#to_json(state_or_hash = nil) -> String (3006.0)

自身から生成した JSON 形式の文字列を返します。

...JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。

//emlist[例][ruby]{
require "json"

false.to_json # => "false"
//}...

絞り込み条件を変える

REXML::Security.entity_expansion_text_limit -> Integer (3006.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...せ、処理を中断します。

実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10240 (byte) です。

@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

REXML::Security.entity_expansion_text_limit=(val) (3006.0)

実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。

...させ、処理を中断します。

実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。

デフォルトは 10240 (byte) です。

@see REXML::Document.entity_expansion_text_limit
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...

SecureRandom.alphanumeric(n = nil) -> String (3006.0)

ランダムな英数字を生成して返します。

...n A-Z, a-z, 0-9 からなる文字列が返されます。

@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。

//emlist[][ruby]{
require 'securerandom'
p SecureRandom.alphanumeric #=> "2BuBuLf3WfSKyQbR"
p SecureRandom.alphanumeric(10) #=> "i6K93NdqiH"
//}...

Time.gm(year, mon = 1, day = 1, hour = 0, min = 0, sec = 0, usec = 0) -> Time (217.0)

引数で指定した協定世界時の Time オブジェクトを返します。

...@param sec 秒を 0 から 60 までの整数か文字列で指定します。(60はうるう秒)

@param usec マイクロ秒を整数か文字列で指定します。

@raise ArgumentError 与えられた引数の範囲が valid でない場合に発生します。

//emlist[][ruby]{
p Time.gm...
<< < 1 2 3 4 5 ... > >>