ライブラリ
- ビルトイン (692)
- csv (77)
- json (66)
- objspace (11)
- openssl (55)
- optparse (132)
- psych (17)
-
rdoc
/ context (11) -
rdoc
/ top _ level (11) -
rubygems
/ version (11) - timeout (19)
- tracer (22)
- win32ole (22)
クラス
-
ARGF
. class (77) - BasicObject (22)
- CSV (77)
- Class (22)
- Exception (11)
- FalseClass (33)
-
Gem
:: Version (11) - Hash (17)
- IO (44)
- Module (172)
- NilClass (44)
- Object (116)
-
OpenSSL
:: ASN1 :: Boolean (22) - OptionParser (132)
- Proc (11)
-
RDoc
:: Context (11) -
RDoc
:: TopLevel (11) - Random (2)
- Range (11)
- Regexp (11)
- Struct (44)
- Tracer (22)
- TrueClass (55)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (11)
モジュール
- JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - ObjectSpace (11)
-
OpenSSL
:: ASN1 (22) - Psych (17)
- Timeout (19)
キーワード
- ! (11)
- & (33)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- == (22)
- ASN1 (11)
- Boolean (22)
- DEFAULT (2)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Requirement (11)
- Ruby プログラムの実行 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Ruby用語集 (11)
- TrueClass (33)
- [] (22)
- ^ (33)
-
add
_ class _ or _ module (22) -
add
_ filter (22) - allocate (11)
- attr (9)
- binmode? (11)
-
class
_ variable _ defined? (11) -
class
_ variables (11) - closed? (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
- coverage (7)
-
create
_ id (11) -
default
_ event _ sources (11) - eof (11)
- eof? (11)
-
fixed
_ encoding? (11) -
for
_ fd (11) - gets (24)
- handler= (11)
- include? (11)
-
initialize
_ copy (9) - inspect (11)
-
instance
_ methods (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) - irb (11)
-
is
_ a? (11) -
json
_ creatable? (11) -
kind
_ of? (11) - lambda? (11)
-
method
_ defined? (11) - methods (11)
- new (88)
- nil? (11)
- on (132)
- open (66)
- pp (11)
-
private
_ class _ method (15) -
private
_ method _ defined? (11) -
protected
_ method _ defined? (11) -
public
_ method _ defined? (11) -
reachable
_ objects _ from (11) - read (11)
-
read
_ nonblock (9) - readlines (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (11) -
rexml
/ parsers / streamparser (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
safe
_ load (17) -
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ methods (11) -
test
/ unit (1) - timeout (19)
-
to
_ h (17) -
to
_ json (11) -
to
_ s (11) - yaml (11)
- | (33)
- クラス/メソッドの定義 (11)
- 制御構造 (11)
- 変数と定数 (11)
- 字句構造 (11)
- 正規表現 (11)
- 演算子式 (11)
検索結果
先頭5件
-
Object
:: TRUE -> TrueClass (18323.0) -
非推奨です。代表的な真の値。true と同じ。
...非推奨です。代表的な真の値。true と同じ。
この定数は過去との互換性のために提供されています。擬似変数 true を使ってください。
Ruby では false と nil が偽として扱われます。
偽でない値(false でも nil でもない値) は全... -
TrueClass (12048.0)
-
true のクラス。 true は TrueClass クラスの唯一のインスタンスです。 true は真を表す代表のオブジェクトです。
...true のクラス。
true は TrueClass クラスの唯一のインスタンスです。
true は真を表す代表のオブジェクトです。... -
JSON
:: Ext :: Generator :: GeneratorMethods :: TrueClass (12000.0) -
Alias of JSON::Generator::GeneratorMethods::TrueClass
...Alias of JSON::Generator::GeneratorMethods::TrueClass... -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12000.0) -
TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
...TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。... -
Class
# allocate -> object (9012.0) -
自身のインスタンスを生成して返します。生成したオブジェクトは 自身のインスタンスであること以外には何も特性を持ちません。
...ェクトは
自身のインスタンスであること以外には何も特性を持ちません。
//emlist[例][ruby]{
klass = Class.new do
def initialize(*args)
@initialized = true
end
def initialized?
@initialized || false
end
end
klass.allocate.initialized? #=> false
//}... -
Class
# json _ creatable? -> bool (9006.0) -
シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は 真を返します。そうでない場合は、偽を返します。
...json_create というメソッドを実装していなければなりません。
また json_create の第一引数は必要なデータを含むハッシュを期待しています。
//emlist[例][ruby]{
require "json"
String.json_creatable? # => true
Dir.json_creatable? # => false
//}... -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (6514.0) -
collection に name で指定したクラス、モジュールを追加します。
...@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加......クラスの親クラスを RDoc::NormalClass オ
ブジェクトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われま... -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (6514.0) -
collection に name で指定したクラス、モジュールを追加します。
...@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加......クラスの親クラスを RDoc::NormalClass オ
ブジェクトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われま... -
Object
# singleton _ class -> Class (6244.0) -
レシーバの特異クラスを返します。 まだ特異クラスがなければ、新しく作成します。
... true か false なら、それぞれ 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... -
Module
# class _ variables(inherit = true) -> [Symbol] (6232.0) -
クラス/モジュールに定義されているクラス変数の名前の配列を返します。
...ュールのクラス変数を含みます。
//emlist[例][ruby]{
class One
@@var1 = 1
end
class Two < One
@@var2 = 2
end
One.class_variables # => [:@@var1]
Two.class_variables # => [:@@var2, :@@var1]
Two.class_variables(false) # => [:@@var2]
//}
@see Module.constants, Ker...