Skip to content

Commit

Permalink
Fix rb_alias 2nd and 3rd args
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 authored Aug 4, 2024
1 parent 8f60d1c commit 9605ceb
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 9605ceb

Please sign in to comment.