104件ヒット
[1-100件を表示]
(0.145秒)
種類
- インスタンスメソッド (60)
- 文書 (22)
- 関数 (22)
ライブラリ
- ビルトイン (21)
- e2mmap (6)
-
rdoc
/ context (22) -
rdoc
/ top _ level (11)
クラス
- Class (11)
- Method (10)
-
RDoc
:: Context (22) -
RDoc
:: TopLevel (11)
モジュール
キーワード
- Ruby用語集 (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
def
_ exception (6) -
rb
_ class _ superclass (11) -
ruby 1
. 8 . 2 feature (11) -
super
_ method (10)
検索結果
先頭5件
- static VALUE superclass(VALUE self
, NODE *node) - Class
# superclass -> Class | nil - static VALUE rb
_ class _ superclass(VALUE klass) - RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule - Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class
-
static VALUE superclass(VALUE self
, NODE *node) (44400.0) -
クラス文のスーパークラスを表すノード node を 評価してクラスを得ます。
クラス文のスーパークラスを表すノード node を
評価してクラスを得ます。 -
Class
# superclass -> Class | nil (27437.0) -
自身のスーパークラスを返します。
...//emlist[例][ruby]{
File.superclass #=> IO
IO.superclass #=> Object
class Foo; end
class Bar < Foo; end
Bar.superclass #=> Foo
Object.superclass #=> BasicObject
//}
ただし BasicObject.superclass は nil を返します。
//emlist[例][ruby]{
BasicObject.......superclass #=> nil
//}......superclass #=> nil
//}
@see Class#subclasses... -
static VALUE rb
_ class _ superclass(VALUE klass) (18400.0) -
-
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (9707.0) -
collection に name で指定したクラス、モジュールを追加します。
...collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、......RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass オ
ブジェ......クトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われません。... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (9507.0) -
exception_name という名前の例外クラスを定義します。
...exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定... -
RDoc
:: Context # add _ class(class _ type , name , superclass) -> RDoc :: SingleClass | RDoc :: NormalClass (6707.0) -
引数で指定したクラスを追加します。
...@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加......するクラスの親クラスを RDoc::NormalClass オ
ブジェクトで指定します。... -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (6707.0) -
collection に name で指定したクラス、モジュールを追加します。
...collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、......RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass オ
ブジェ......クトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われません。... -
Ruby用語集 (3058.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...by用語集
A B C D E F G I J M N O R S Y
a ka sa ta na ha ma ya ra wa
=== 記号・数字
: %記法
: % notation
「%」記号で始まる多種多様なリテラル記法の総称。
参照:d:spec/literal#percent
: 0 オリジン
: zero-base......d
番号が 0 から始まること。
例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。
: 1 オリジン
: one-based
番号が 1 から始まること。
例えば、
エラー......る。
true/false を返すとは限らず、真である場合に、true 以外のオブジェクトを
返すことで、単なる真偽を越えた情報を与えるものもある。
: 上位クラス
: superclass
=スーパークラス
: 条件演算子
: conditional operator
条... -
Method
# super _ method -> Method | nil (212.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを Method オブジェ
クトにして返します。
@see UnboundMethod#super_method
//emlist[例][ruby]{
class Super
def foo
"superclass method"
end
end
class Sub < Super
def foo
"subclass method"
end
end
m = S......ub.new.method(:foo) # => #<Method: Sub#foo>
m.call # => "subclass method"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}... -
ruby 1
. 8 . 2 feature (54.0) -
ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。
...変更
* [api]: 拡張ライブラリ API
* [lib]: ライブラリ
*レベル
* [bug]: バグ修正
* [new]: 追加されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影響......変更)
* [experimental]: 変更の中でも特に実験的なもの(将来再考して欲しいもの?)
* [obsolete]: 廃止された(される予定の)機能
* [platform]: 対応プラットフォームの追加
== 1.8.1 (2003-12-25) -> 1.8.2 (2004-12-25)
* cgi/session においてク......が最初の null までしかマッチしないようになりました。((<ruby-talk:98281>))
$ ruby1.8.1 -e 'p "abc\000def\000".unpack("Z*Z*")'
["abc\000def", ""]
$ ruby1.8.2 -e 'p "abc\000def\000".unpack("Z*Z*")'
["abc", "def"]
=== 2004-05-10
: superclass mismatch [ruby] [...