summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/struct.c b/struct.c
index b2fe346f76..45f90c414c 100644
--- a/struct.c
+++ b/struct.c
@@ -532,7 +532,7 @@ rb_struct_define_under(VALUE outer, const char *name, ...)
* Foo = Struct.new('Foo', :foo, :bar) # => Struct::Foo
* f = Foo.new(0, 1) # => #<struct Struct::Foo foo=0, bar=1>
*
- * <b>\Class Name</b>
+ * <b>Class Name</b>
*
* With string argument +class_name+,
* returns a new subclass of +Struct+ named <tt>Struct::<em>class_name</em></tt>:
@@ -1552,7 +1552,7 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self)
/*
* Document-class: Data
*
- * \Class \Data provides a convenient way to define simple classes
+ * Class \Data provides a convenient way to define simple classes
* for value-alike objects.
*
* The simplest example of usage:
@@ -2065,7 +2065,7 @@ rb_data_inspect(VALUE s)
/*
* Document-class: Struct
*
- * \Class \Struct provides a convenient way to create a simple class
+ * Class \Struct provides a convenient way to create a simple class
* that can store and fetch values.
*
* This example creates a subclass of +Struct+, <tt>Struct::Customer</tt>;
@@ -2105,7 +2105,7 @@ rb_data_inspect(VALUE s)
*
* == What's Here
*
- * First, what's elsewhere. \Class \Struct:
+ * First, what's elsewhere. Class \Struct:
*
* - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here].
* - Includes {module Enumerable}[rdoc-ref:Enumerable@What-27s+Here],