diff options
author | BurdetteLamar <burdettelamar@yahoo.com> | 2023-02-19 20:16:04 +0000 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-02-19 14:26:34 -0800 |
commit | 3b239d2480123046a59a75f1089ab58d192b9c57 (patch) | |
tree | a7015491da2508153db26251ad30ac39d6d8a6a8 /struct.c | |
parent | 3d53827130e9f3792e80e9a947d5a0d604aa836b (diff) |
Remove (newly unneeded) remarks about aliases
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -596,8 +596,6 @@ rb_struct_define_under(VALUE outer, const char *name, ...) * Foo.new(foo: 0, bar: 1, baz: 2) * # Raises ArgumentError: unknown keywords: baz * - * \Method <tt>::[]</tt> is an alias for method <tt>::new</tt>. - * * - \Method <tt>:inspect</tt> returns a string representation of the subclass: * * Foo.inspect @@ -1029,8 +1027,6 @@ inspect_struct(VALUE s, VALUE prefix, int recur) * joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) * joe.inspect # => "#<struct Customer name=\"Joe Smith\", address=\"123 Maple, Anytown NC\", zip=12345>" * - * Struct#to_s is an alias for Struct#inspect. - * */ static VALUE @@ -1049,8 +1045,6 @@ rb_struct_inspect(VALUE s) * joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) * joe.to_a # => ["Joe Smith", "123 Maple, Anytown NC", 12345] * - * Struct#values and Struct#deconstruct are aliases for Struct#to_a. - * * Related: #members. */ @@ -1372,8 +1366,6 @@ rb_struct_values_at(int argc, VALUE *argv, VALUE s) * a # => [12345] * * With no block given, returns an Enumerator. - * - * Struct#filter is an alias for Struct#select. */ static VALUE @@ -1532,7 +1524,6 @@ rb_struct_eql(VALUE s, VALUE s2) * joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) * joe.size #=> 3 * - * Struct#length is an alias for Struct#size. */ VALUE |