るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Integer#>=(other) -> bool (21218.0)

比較演算子。数値として等しいまたは大きいか判定します。

...@param other 比較対象の数値
@return self よりも other の方が小さい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。

//emlist[][ruby]{
1 >= 0 # => true
1 >= 1 # => true
1 >= 2 # => fa...

Float#>=(other) -> bool (21206.0)

比較演算子。数値として等しいまたは大きいか判定します。

...

@param other 比較対象の数値
@return self よりも other の方が小さい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。

//emlist[例][ruby]{
3.14 > 3.1415 # => false
3.14 >= 3.1415 # => fal...

Module#>=(other) -> bool | nil (18236.0)

比較演算子。self が other の先祖か同一クラスである場合、 true を返します。 self が other の子孫である場合、false を返します。

...other の先祖か同一クラスである場合、 true を返します。
self が other の子孫である場合、false を返します。

継承関係にないクラス同士の比較では
nil を返します。

@param other 比較対象のモジュールやクラス

@raise TypeError other...
...dule#<

//emlist[例][ruby]{
module Foo; end
module Bar
include Foo
end
module Baz
prepend Foo
end

Bar.ancestors # => [Bar, Foo]
Foo >= Bar # => true
Bar >= Foo # => false

Baz.ancestors # => [Foo, Baz]
Foo >= Baz # => true
Baz >= Foo # => false

Foo >= Foo # => true
Foo >= Object # => nil
//}...

Comparable#>=(other) -> bool (18218.0)

比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数か 0 を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。

...true を返します。
それ以外の整数を返した場合に、false を返します。

@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <=> が nil を返したときに発生します。

//emlist[例][ruby]{
1 >= 0 # => true
1 >= 1 #...
...=> true
1 >= 2 # => false
//}...

Hash#>=(other) -> bool (18218.0)

other が self のサブセットか同じである場合に真を返します。

...other が self のサブセットか同じである場合に真を返します。

@param other 自身と比較したい Hash オブジェクトを指定します。

//emlist[例][ruby]{
h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 >= h2 # => false
h2 >= h1 # => true
h1 >= h1 # => true
//}

@see...

絞り込み条件を変える

BigDecimal#>=(other) -> bool (18200.0)

self が other より大きいか等しい場合に true を、そうでない場合に false を返します。

...self が other より大きいか等しい場合に true を、そうでない場合に false
を返します。...

Complex#>=(other) -> bool (18200.0)

@undef

@undef

Fixnum#>=(other) -> bool (18200.0)

比較演算子。数値として等しいまたは大きいか判定します。

...演算子。数値として等しいまたは大きいか判定します。

@param other 比較対象の数値
@return self よりも other の方が小さい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。...

Tracer.set_get_line_procs(filename) {|line| .... } (9206.0)

あるファイルについて利用する、行番号からソースのその行の内容を返す 手続きを指定します。何も指定しなければデフォルトの動作が利用されます。 指定する手続きは行番号を唯一の引数として呼び出されます。

...equire 'tracer'

T
racer.set_get_line_procs('./dummy.rb'){|line|
str = "\n"
str = "!!\n" if line >= 3 and line <= 6
str
}
T
racer.on
require 'dummy'

dm = Dummy.new
puts dm.number

=begin
# dummy.rb
class Dummy
def initialize
@number = 135
end
attr :numb...

Tracer.set_get_line_procs(filename, proc) (9206.0)

あるファイルについて利用する、行番号からソースのその行の内容を返す 手続きを指定します。何も指定しなければデフォルトの動作が利用されます。 指定する手続きは行番号を唯一の引数として呼び出されます。

...equire 'tracer'

T
racer.set_get_line_procs('./dummy.rb'){|line|
str = "\n"
str = "!!\n" if line >= 3 and line <= 6
str
}
T
racer.on
require 'dummy'

dm = Dummy.new
puts dm.number

=begin
# dummy.rb
class Dummy
def initialize
@number = 135
end
attr :numb...

絞り込み条件を変える

<< 1 2 3 ... > >>