種類
- インスタンスメソッド (96)
- 文書 (77)
- 関数 (22)
- 特異メソッド (22)
ライブラリ
- ビルトイン (68)
- delegate (11)
- e2mmap (6)
-
rdoc
/ context (22) -
rdoc
/ top _ level (11)
クラス
- Class (36)
- Method (10)
- Module (11)
- Object (11)
-
RDoc
:: Context (22) -
RDoc
:: TopLevel (11)
モジュール
- Exception2MessageMapper (6)
- Kernel (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - DelegateClass (11)
- Ruby用語集 (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) - ancestors (11)
- class (11)
-
def
_ exception (6) - new (22)
-
rb
_ class _ superclass (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) - subclasses (3)
-
super
_ method (10) - superclass (22)
- クラス/メソッドの定義 (11)
検索結果
-
ruby 1
. 8 . 4 feature (36.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...ing eval should preserve external
# information.
: super [bug]
Kernelのメソッド内でsuperを呼んだ時に、存在しないsuperclass
にアクセスしようとするバグの修正。
module Kernel
def foo
super
end
end......t string
: super: no superclass method `foo' (NoMethodError)
from -:7
: 正規表現 [bug]
#Wed Oct 19 01:27:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * regex.c (re_compile_pattern): numeric literal inside character class
# disabled succeeding b......= 組み込みライブラリ
#Thu Dec 8 02:07:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * eval.c (umethod_bind): adjust invoking class for module method.
# [ruby-dev:27964]
: UnboundMethod#bind [bug]
UnboundMethod#bindされたモジュールのインスタンスメ... -
Method
# super _ method -> Method | nil (24.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
...t[例][ruby]{
class Super
def foo
"superclass method"
end
end
class Sub < Super
def foo
"subclass method"
end
end
m = Sub.new.method(:foo) # => #<Method: Sub#foo>
m.call # => "subclass method"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}...