るりまサーチ

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

別のキーワード

  1. argf.class each
  2. argf.class each_line
  3. argf.class lines
  4. class new
  5. argf.class gets

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

FalseClass (44016.0)

false のクラス。 false は FalseClass クラスの唯一のインスタンスです。 false は nil オブジェクトとともに偽を表し、 その他の全てのオブジェクトは真です。

...false のクラス。
false は FalseClass クラスの唯一のインスタンスです。
false は nil オブジェクトとともに偽を表し、
その他の全てのオブジェクトは真です。...

JSON::Ext::Generator::GeneratorMethods::FalseClass (24016.0)

Alias of JSON::Generator::GeneratorMethods::FalseClass

...Alias of JSON::Generator::GeneratorMethods::FalseClass...

JSON::Generator::GeneratorMethods::FalseClass (24016.0)

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

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

FalseClass#&(other) -> false (24000.0)

常に false を返します。

常に false を返します。

@param other 論理積を行なう式です。

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

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

p false.&(true) #=> false
p false.&...

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

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

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

@param other 排他的論理和を行なう式です。

^ は再定義可能な演算子に分類されていますので、通常は 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 false.^(true) ...

絞り込み条件を変える

FalseClass#inspect -> String (24000.0)

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

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

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

FalseClass#to_s -> String (24000.0)

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

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

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

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

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

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

@param other 論理和を行なう式です。

| は再定義可能な演算子に分類されていますので、通常は 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 false.|(true) #=...

Object#singleton_class -> Class (6244.0)

レシーバの特異クラスを返します。 まだ特異クラスがなければ、新しく作成します。

...れ NilClass, TrueClass,
FalseClass
を返します。

@raise TypeError レシーバが Integer、Float、Symbol の場合に発生します。

//emlist[][ruby]{
Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>>
String.singleton_class #=> #<Class:String>
nil.singleton_class...
...#=> NilClass
//}

@see Object#class...
<< 1 2 3 ... > >>