るりまサーチ

最速Rubyリファレンスマニュアル検索!
217件ヒット [201-217件を表示] (0.020秒)
トップページ > クエリ:Class#superclass[x]

別のキーワード

  1. argf.class lines
  2. argf.class each
  3. argf.class each_line
  4. class new
  5. argf.class readline

検索結果

<< < 1 2 3 >>

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"
//}...
<< < 1 2 3 >>