904件ヒット
[901-904件を表示]
(0.038秒)
ライブラリ
- English (44)
- ビルトイン (489)
- csv (11)
-
irb
/ cmd / help (11) -
net
/ telnet (8) - pathname (11)
-
rdoc
/ context (11) -
rexml
/ document (11) -
rinda
/ rinda (11) -
rubygems
/ gem _ path _ searcher (11) - scanf (30)
- strscan (154)
クラス
-
Gem
:: GemPathSearcher (11) -
IRB
:: ExtendCommand :: Help (11) - MatchData (143)
-
Net
:: Telnet (8) - Pathname (11)
-
RDoc
:: Context (11) -
REXML
:: Entity (11) - Regexp (55)
-
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (24) - String (74)
- StringScanner (154)
- Symbol (19)
モジュール
- Kernel (220)
キーワード
-
$ & (11) -
$ & # 39; (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ LAST _ PAREN _ MATCH (11) -
$ MATCH (11) -
$ POSTMATCH (11) -
$ PREMATCH (11) -
$ ` (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (11)
- =~ (11)
- CSV (11)
- MatchData (11)
-
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Regexp (11)
- Template (11)
- [] (44)
- captures (11)
-
check
_ until (11) - cmd (4)
- compile (11)
- concat (11)
- execute (11)
- gsub (22)
- gsub! (11)
- inspect (11)
- irb (11)
-
last
_ match (22) -
last
_ match _ tried (6) - match? (27)
- matched (11)
- matched? (11)
-
matched
_ count (6) -
matched
_ size (11) -
matched
_ string (6) - matchedsize (11)
- matches? (11)
-
matching
_ files (11) - names (11)
- new (11)
-
post
_ match (22) -
pre
_ match (22) - prune (6)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
scan
_ full (11) -
scan
_ until (11) -
skip
_ until (11) - sub (33)
- sub! (11)
-
to
_ a (11) -
to
_ s (11) -
unmatched
_ alias _ lists (11) - unscan (11)
-
values
_ at (11) - waitfor (4)
- クラス/メソッドの定義 (11)
- 正規表現 (11)
検索結果
先頭1件
-
クラス/メソッドの定義 (12.0)
-
クラス/メソッドの定義 * クラス/メソッドの定義: * class * singleton_class * module * method * operator * nest_method * eval_method * singleton_method * class_method * limit * 定義に関する操作: * alias * undef * defined
...に指定しても同じ)
class Foo
def bar
end
end
# 間違ったスーパークラスを指定するとエラー
class Foo < String
end
# => superclass mismatch for class Foo (TypeError)
//}
クラス定義式の中は self がそのクラスであることと、
limitのデフォルトが......self._val + other._val
end
end
//}
=== 定義に関する操作
====[a:alias] alias
//emlist[例][ruby]{
alias foo bar
alias :foo :bar
alias $MATCH $&
//}
文法:
alias 新メソッド名 旧メソッド名
alias 新グローバル変数名 旧グローバル変数名...