From b9e0294edaceecb177401902f3809a45af666d7e Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 3 Nov 2009 17:46:28 +0000 Subject: fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index f43eb6d132..10eb983078 100644 --- a/object.c +++ b/object.c @@ -38,7 +38,7 @@ static ID id_eq, id_eql, id_match, id_inspect, id_init_copy; * obj === other => true or false * * Case Equality---For class Object, effectively the same - * as calling #==, but typically overridden by descendents + * as calling #==, but typically overridden by descendants * to provide meaningful semantics in case statements. */ @@ -67,7 +67,7 @@ rb_eql(VALUE obj1, VALUE obj2) * * Equality---At the Object level, == returns * true only if obj and other are the - * same object. Typically, this method is overridden in descendent + * same object. Typically, this method is overridden in descendant * classes to provide class-specific meaning. * * Unlike ==, the equal? method should never be @@ -257,9 +257,9 @@ rb_obj_clone(VALUE obj) * dup copies the tainted state of obj. See also * the discussion under Object#clone. In general, * clone and dup may have different semantics - * in descendent classes. While clone is used to duplicate + * in descendant classes. While clone is used to duplicate * an object, including its internal state, dup typically - * uses the class of the descendent object to create the new instance. + * uses the class of the descendant object to create the new instance. * * This method may have class-specific behavior. If so, that * behavior will be documented under the #+initialize_copy+ method of @@ -1092,7 +1092,7 @@ rb_false(VALUE obj) * call-seq: * obj =~ other => nil * - * Pattern Match---Overridden by descendents (notably + * Pattern Match---Overridden by descendants (notably * Regexp and String) to provide meaningful * pattern-match semantics. */ @@ -1139,7 +1139,7 @@ rb_obj_cmp(VALUE obj1, VALUE obj2) * called without creating an encapsulating object, while instance * methods may not. (See Module#module_function) * - * In the descriptions that follow, the parameter syml refers + * In the descriptions that follow, the parameter sym refers * to a symbol, which is either a quoted string or a * Symbol (such as :name). * @@ -1209,7 +1209,7 @@ rb_mod_freeze(VALUE mod) * mod === obj => true or false * * Case Equality---Returns true if anObject is an - * instance of mod or one of mod's descendents. Of + * instance of mod or one of mod's descendants. Of * limited use for modules, but can be used in case * statements to classify objects by class. */ @@ -2162,7 +2162,7 @@ rb_Integer(VALUE val) * (0, 0b, and 0x) are honored. * In any case, strings should be strictly conformed to numeric * representation. This behavior is different from that of - * String#to_i. Non string valueswill be converted using + * String#to_i. Non string values will be converted using * to_int, and to_i. * * Integer(123.999) #=> 123 -- cgit v1.2.3