Skip to content

Commit

Permalink
Merge pull request #2903 from sue445/patch-1
Browse files Browse the repository at this point in the history
`rb_alias` の第2引数と第3引数が逆になっているのを修正
  • Loading branch information
ohai authored Aug 31, 2024
2 parents 3b0fddc + 9605ceb commit 3f5a0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refm/capi/src/eval.c.rd
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Proc.yield の実体。
クラス klass に mid という名前のメソッドを定義する。
その本体は node であり、noex で示される可視性を持つ。

--- void rb_alias(VALUE klass, ID name, ID def)
--- void rb_alias(VALUE klass, ID def, ID name)

クラス klass に定義されたメソッド name の
本体を実体とする新しいメソッド def を定義します。
Expand Down

0 comments on commit 3f5a0c1

Please sign in to comment.