Skip to content

Commit 1991874

Browse files
authored
Merge pull request #15 from sue445/tweak_doc
doc: Tweak comment
2 parents 1dcab43 + 26e139e commit 1991874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func RbDefineModule(name string) VALUE {
1414
return VALUE(C.rb_define_module(goString2Char(name)))
1515
}
1616

17-
// RbDefineSingletonMethod define singleton method
17+
// RbDefineSingletonMethod calls `rb_define_singleton_method` in C
1818
func RbDefineSingletonMethod(klass VALUE, name string, fun unsafe.Pointer, args int) {
1919
cname := goString2Char(name)
2020
C.rb_define_singleton_method(C.VALUE(klass), cname, (*[0]byte)(fun), C.int(args))

0 commit comments

Comments
 (0)