diff options
author | Kouhei Yanagita <yanagi@shakenbu.org> | 2022-12-28 21:51:33 +0900 |
---|---|---|
committer | Victor Shepelev <zverok.offline@gmail.com> | 2022-12-28 18:43:05 +0200 |
commit | cada537040743cbe49aac6740816d648ca0d3fb6 (patch) | |
tree | 6965d89991abeaeaaf91784e41b1e936dfcef8b6 /struct.c | |
parent | b726d60c986bf951d13e7a2ab5f5e58f58657b03 (diff) | |
download | ruby-cada537040743cbe49aac6740816d648ca0d3fb6.tar.gz |
[DOC] Fix call-seq for Data.define
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 <tt>Data::<name></tt> constant. + * Defines a new \Data class. * * measure = Data.define(:amount, :unit) * #=> #<Class:0x00007f70c6868498> |