aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-22 08:07:56 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-22 08:07:56 +0000
commit16e018b62acdd34a69198a9ef90d935a5871157f (patch)
tree62331927387f3db53d7af84d2df165398d4a30c7 /object.c
parentc2da47b74a3b46e131253f7e9f42879d5997ee55 (diff)
downloadruby-16e018b62acdd34a69198a9ef90d935a5871157f.tar.gz
Fix typos and indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/object.c b/object.c
index 52e33bd064..eda9caffc0 100644
--- a/object.c
+++ b/object.c
@@ -60,7 +60,7 @@ VALUE rb_cFalseClass; /*!< FalseClass class */
* 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)
* 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)
/**
* :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)
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 char *tname, const char *method, VALUE resu
* 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 type, const char *tname, ID method)
* 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.