[前][次][番号順一覧][スレッド一覧]

ruby-changes:60075

From: Kazuhiro <ko1@a...>
Date: Sat, 15 Feb 2020 12:14:31 +0900 (JST)
Subject: [ruby-changes:60075] 79ad50d219 (master): Fix call-seq of Pathname#{, l}ch{mod, own} [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=79ad50d219

From 79ad50d2194f8d19ef9eb317fea83cfe284a2b08 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Sat, 15 Feb 2020 12:13:09 +0900
Subject: Fix call-seq of Pathname#{,l}ch{mod,own} [ci skip]


diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index 6b51b15..458846d 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -554,7 +554,7 @@ path_mtime(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L554
 
 /*
  * call-seq:
- *   pathname.chmod	-> integer
+ *   pathname.chmod(mode_int)	-> integer
  *
  * Changes file permissions.
  *
@@ -568,7 +568,7 @@ path_chmod(VALUE self, VALUE mode) https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L568
 
 /*
  * call-seq:
- *   pathname.lchmod	-> integer
+ *   pathname.lchmod(mode_int)	-> integer
  *
  * Same as Pathname.chmod, but does not follow symbolic links.
  *
@@ -582,7 +582,7 @@ path_lchmod(VALUE self, VALUE mode) https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L582
 
 /*
  * call-seq:
- *   pathname.chown	-> integer
+ *   pathname.chown(owner_int, group_int)	-> integer
  *
  * Change owner and group of the file.
  *
@@ -596,7 +596,7 @@ path_chown(VALUE self, VALUE owner, VALUE group) https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L596
 
 /*
  * call-seq:
- *   pathname.lchown	-> integer
+ *   pathname.lchown(owner_int, group_int)	-> integer
  *
  * Same as Pathname.chown, but does not follow symbolic links.
  *
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]