363件ヒット
[101-200件を表示]
(0.041秒)
種類
- インスタンスメソッド (283)
- 定数 (80)
キーワード
- === (11)
- =~ (9)
-
RUBY
_ COPYRIGHT (11) -
RUBY
_ DESCRIPTION (11) -
RUBY
_ ENGINE (11) -
RUBY
_ ENGINE _ VERSION (9) -
RUBY
_ PLATFORM (11) -
RUBY
_ RELEASE _ DATE (11) -
RUBY
_ REVISION (5) -
RUBY
_ VERSION (11) -
_ dump (11) - class (11)
- clone (11)
-
define
_ singleton _ method (22) - dup (11)
- freeze (11)
- hash (11)
- inspect (11)
- itself (11)
- method (11)
-
pretty
_ inspect (11) -
pretty
_ print _ inspect (11) -
pretty
_ print _ instance _ variables (11) -
psych
_ to _ yaml (11) -
public
_ method (11) -
singleton
_ class (11) -
singleton
_ method (11) - tainted? (6)
- then (12)
-
to
_ s (11) -
to
_ str (11) -
to
_ yaml (11) -
yield
_ self (14)
検索結果
先頭5件
-
Object
# pretty _ print _ instance _ variables -> [String | Symbol] (102.0) -
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。 返されたインスタンス変数はプリティプリント時に表示されます。
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。
返されたインスタンス変数はプリティプリント時に表示されます。
pp に表示したくないインスタンス変数がある場合にこのメソッドを再定義します。 -
Object
:: RUBY _ COPYRIGHT -> String (102.0) -
Ruby のコピーライトを表す文字列。
Ruby のコピーライトを表す文字列。 -
Object
:: RUBY _ DESCRIPTION -> String (102.0) -
Ruby の詳細を表す文字列。
Ruby の詳細を表す文字列。
ruby -v で表示される内容が格納されています。 -
Object
:: RUBY _ ENGINE -> String (102.0) -
Ruby処理系実装の種類を表す文字列。
Ruby処理系実装の種類を表す文字列。
例:
$ ruby-1.9.1 -ve 'p RUBY_ENGINE'
ruby 1.9.1p0 (2009-03-04 revision 22762) [x86_64-linux]
"ruby"
$ jruby -ve 'p RUBY_ENGINE'
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
"jruby" -
Object
:: RUBY _ ENGINE _ VERSION -> String (102.0) -
Ruby処理系実装のバージョンを表す文字列。
Ruby処理系実装のバージョンを表す文字列。 -
Object
:: RUBY _ PLATFORM -> String (102.0) -
プラットフォームを表す文字列。
プラットフォームを表す文字列。 -
Object
:: RUBY _ RELEASE _ DATE -> String (102.0) -
Ruby のリリース日を表す文字列。
Ruby のリリース日を表す文字列。 -
Object
:: RUBY _ VERSION -> String (102.0) -
Ruby のバージョンを表す文字列。
Ruby のバージョンを表す文字列。
Ruby のバージョンは、major.minor.teeny という形式です。 -
Object
# itself -> object (31.0) -
self を返します。
...self を返します。
//emlist[][ruby]{
string = 'my string' # => "my string"
string.itself.object_id == string.object_id # => true
//}... -
Object
# ===(other) -> bool (19.0) -
case 式で使用されるメソッドです。d:spec/control#case も参照してください。
...ドは case 式での振る舞いを考慮して、
各クラスの性質に合わせて再定義すべきです。
デフォルトでは内部で Object#== を呼び出します。
when 節の式をレシーバーとして === を呼び出すことに注意してください。
また Enumerable......t! #{arg}"
when String
"Instance of String class. But don't hit."
else
"unknown"
end
end
puts check([]) #=> unknown
puts check("mash-up in Ruby on Rails") #=> instance of String class. But not hit...
puts check("<Ruby's world>") #=> hit! <Ruby's world>
//}
@see Object#==, Range#===,...