diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 9194d0e010..2d74e9cf80 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -1083,8 +1083,8 @@ s_glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, klass)) /* * Returns or yields Pathname objects. * - * Pathname.glob("config/?*.rb") - * #=> [#, #, ..] + * Pathname.glob("lib/i*.rb") + * #=> [#, #] * * See Dir.glob. */ @@ -1126,7 +1126,7 @@ glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, self)) * #=> [#, #] * * See Dir.glob. - * This method uses base: argument of Dir.glob. + * This method uses the +base+ keyword argument of Dir.glob. */ static VALUE path_glob(int argc, VALUE *argv, VALUE self)