From cada537040743cbe49aac6740816d648ca0d3fb6 Mon Sep 17 00:00:00 2001 From: Kouhei Yanagita Date: Wed, 28 Dec 2022 21:51:33 +0900 Subject: [PATCH] [DOC] Fix call-seq for Data.define --- struct.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/struct.c b/struct.c index 38c780dcda..f68c496728 100644 --- a/struct.c +++ b/struct.c @@ -1662,11 +1662,9 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self) /* * call-seq: - * define(name, *symbols) -> class * define(*symbols) -> class * - * Defines a new \Data class. If the first argument is a string, the class - * is stored in Data:: constant. + * Defines a new \Data class. * * measure = Data.define(:amount, :unit) * #=> #