[前][次][番号順一覧][スレッド一覧]

ruby-changes:47276

From: kazu <ko1@a...>
Date: Sat, 22 Jul 2017 17:08:03 +0900 (JST)
Subject: [ruby-changes:47276] kazu:r59391 (trunk): Fix typos and indent

kazu	2017-07-22 17:07:56 +0900 (Sat, 22 Jul 2017)

  New Revision: 59391

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59391

  Log:
    Fix typos and indent

  Modified files:
    trunk/object.c
Index: object.c
===================================================================
--- object.c	(revision 59390)
+++ object.c	(revision 59391)
@@ -60,7 +60,7 @@ VALUE rb_cFalseClass; /*!< FalseClass cl https://github.com/ruby/ruby/blob/trunk/object.c#L60
  * Make the object invisible from Ruby code.
  *
  * It is useful to let Ruby's GC manage your internal data structure --
- * The object keeps being managed by GC, but \c ObjectSpace#each_objects
+ * The object keeps being managed by GC, but \c ObjectSpace.each_object
  * never yields the object.
  *
  * Note that the object also lose a way to call a method on it.
@@ -245,7 +245,7 @@ rb_obj_not_equal(VALUE obj1, VALUE obj2) https://github.com/ruby/ruby/blob/trunk/object.c#L245
  * It returns the \a cl itself if it is neither a singleton class or a module.
  *
  * \param[in] cl a Class object.
- * \return the ancestor class found, or a falsthy vaule if nothing found.
+ * \return the ancestor class found, or a falsey value if nothing found.
  */
 VALUE
 rb_class_real(VALUE cl)
@@ -581,7 +581,7 @@ rb_obj_yield_self(VALUE obj) https://github.com/ruby/ruby/blob/trunk/object.c#L581
 /**
  * :nodoc:
  *--
- * Default implemenentation of \c #initialize_copy
+ * Default implementation of \c #initialize_copy
  * \param[in,out] obj the receiver being initialized
  * \param[in] orig    the object to be copied from.
  *++
@@ -642,7 +642,7 @@ rb_any_to_s(VALUE obj) https://github.com/ruby/ruby/blob/trunk/object.c#L642
 VALUE rb_str_escape(VALUE str);
 /*!
  * Convenient wrapper of \c Object#inspect.
- * Returns a human-readable strng representation of \a obj,
+ * Returns a human-readable string representation of \a obj,
  * similarly to \c Object#inspect.
  *
  * Unlike Ruby-level \c #inspect, it escapes characters to keep the
@@ -2943,7 +2943,7 @@ conversion_mismatch(VALUE val, const cha https://github.com/ruby/ruby/blob/trunk/object.c#L2943
  * Converts an object into another type.
  * Calls the specified conversion method if necessary.
  *
- * \param[in] val   the object to be converted
+ * \param[in] val    the object to be converted
  * \param[in] type   a value of \c ruby_value_type
  * \param[in] tname  name of the target type.
  *   only used for error messages.
@@ -2983,7 +2983,7 @@ rb_convert_type_with_id(VALUE val, int t https://github.com/ruby/ruby/blob/trunk/object.c#L2983
  * Tries to convert an object into another type.
  * Calls the specified conversion method if necessary.
  *
- * \param[in] val   the object to be converted
+ * \param[in] val    the object to be converted
  * \param[in] type   a value of \c ruby_value_type
  * \param[in] tname  name of the target type.
  *   only used for error messages.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]