File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7083,13 +7083,17 @@ rb_str_reverse_bang(VALUE str)
70837083 * call-seq:
70847084 * include?(other_string) -> true or false
70857085 *
7086- * Returns +true+ if +self+ contains +other_string+, +false+ otherwise :
7086+ * Returns whether +self+ contains +other_string+:
70877087 *
7088- * s = 'foo'
7089- * s.include?('f') # => true
7090- * s.include?('fo') # => true
7091- * s.include?('food') # => false
7088+ * s = 'bar'
7089+ * s.include?('ba') # => true
7090+ * s.include?('ar') # => true
7091+ * s.include?('bar') # => true
7092+ * s.include?('a') # => true
7093+ * s.include?('') # => true
7094+ * s.include?('foo') # => false
70927095 *
7096+ * Related: see {Querying}[rdoc-ref:String@Querying].
70937097 */
70947098
70957099VALUE
You can’t perform that action at this time.
0 commit comments