別のキーワード
ライブラリ
- ビルトイン (192)
クラス
- BasicObject (48)
- Module (72)
- Object (24)
モジュール
- Kernel (24)
オブジェクト
- main (24)
キーワード
- Marshal フォーマット (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 3
. 1 . 0 (4) - Ruby プログラムの実行 (12)
-
class
_ eval (24) -
define
_ method (48) - drb (12)
- eval (24)
-
instance
_ exec (12) -
instance
_ variables (12) -
irb
/ completion (12) -
module
_ eval (24) -
rb
_ obj _ instance _ eval (12) -
respond
_ to? (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 9 feature (12) -
singleton
_ method _ undefined (12) -
specific
_ eval (12) - クラス/メソッドの定義 (12)
検索結果
-
ruby 1
. 9 feature (6.0) -
ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。
...46>))
=== 2006-03-03
: FileUtils.cp_r [lib] [compat]
remove_destination オプションの追加
((<ruby-dev:28417>))
=== 2006-02-15
: instance_eval
((<ruby-core:7365>))
=== 2006-02-03
: Integer#upto [compat]
: Integer#downto [compat]
: Integer#doitems [compat]
ブロックがな... -
クラス/メソッドの定義 (6.0)
-
クラス/メソッドの定義 * クラス/メソッドの定義: * class * singleton_class * module * method * operator * nest_method * eval_method * singleton_method * class_method * limit * 定義に関する操作: * alias * undef * defined
...に設定されたメソッドは、そのメソッドを持つオブジェクトが
selfであるコンテキスト(メソッド定義式やinstance_eval)でのみ呼び出せ
ます。
//emlist[例: protected の可視性][ruby]{
class Foo
def foo
p caller.last
end
protected :foo
e...