summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWS-2.1.02
-rw-r--r--doc/NEWS-2.2.02
-rw-r--r--doc/extension.rdoc4
-rw-r--r--doc/ractor.md2
4 files changed, 5 insertions, 5 deletions
diff --git a/doc/NEWS-2.1.0 b/doc/NEWS-2.1.0
index 5d4152b8dc..26f2374e94 100644
--- a/doc/NEWS-2.1.0
+++ b/doc/NEWS-2.1.0
@@ -155,7 +155,7 @@ with all sufficient information, see the ChangeLog file.
Foo#foo private.
* Kernel#untrusted?, untrust, and trust
- * These methods are deprecated and their behavior is same as tainted?,
+ * These methods are deprecated and their behavior is the same as tainted?,
taint, and untaint, respectively. If $VERBOSE is true, they show warnings.
* Module#ancestors
diff --git a/doc/NEWS-2.2.0 b/doc/NEWS-2.2.0
index 98e252ec77..8b2bd0ba0a 100644
--- a/doc/NEWS-2.2.0
+++ b/doc/NEWS-2.2.0
@@ -318,7 +318,7 @@ with all sufficient information, see the ChangeLog file.
* rb_sym2str() added. This is almost same as `rb_id2str(SYM2ID(sym))`
but not pinning a dynamic symbol.
-* rb_str_cat_cstr() added. This is same as `rb_str_cat2()`.
+* rb_str_cat_cstr() added. This is the same as `rb_str_cat2()`.
* `rb_str_substr()` and `rb_str_subseq()` will share middle of a string,
but not only the end of a string, in the future. Therefore, result
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index 71a03cbf52..a4996920f9 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -1868,13 +1868,13 @@ NORETURN_STYLE_NEW ::
HAVE_RB_DEFINE_ALLOC_FUNC ::
Means that function rb_define_alloc_func() is provided, that means the
- allocation framework is used. This is same as the result of
+ allocation framework is used. This is the same as the result of
have_func("rb_define_alloc_func", "ruby.h").
HAVE_RB_REG_NEW_STR ::
Means that function rb_reg_new_str() is provided, that creates Regexp
- object from String object. This is same as the result of
+ object from String object. This is the same as the result of
have_func("rb_reg_new_str", "ruby.h").
HAVE_RB_IO_T ::
diff --git a/doc/ractor.md b/doc/ractor.md
index 235d58463b..8cfa9fe46a 100644
--- a/doc/ractor.md
+++ b/doc/ractor.md
@@ -192,7 +192,7 @@ For message sending and receiving, there are two types APIs: push type and pull
* (1-1) send/receive (push type)
* `Ractor#send(obj)` (`Ractor#<<(obj)` is an aliases) send a message to the Ractor's incoming port. Incoming port is connected to the infinite size incoming queue so `Ractor#send` will never block.
* `Ractor.receive` dequeue a message from its own incoming queue. If the incoming queue is empty, `Ractor.receive` calling will block.
- * `Ractor.receive_if{|msg| filter_expr }` is variant of `Ractor.receive`. `receive_if` only receives a message which `filter_expr` is true (So `Ractor.receive` is same as `Ractor.receive_if{ true }`.
+ * `Ractor.receive_if{|msg| filter_expr }` is variant of `Ractor.receive`. `receive_if` only receives a message which `filter_expr` is true (So `Ractor.receive` is the same as `Ractor.receive_if{ true }`.
* (1-2) yield/take (pull type)
* `Ractor.yield(obj)` send an message to a Ractor which are calling `Ractor#take` via outgoing port . If no Ractors are waiting for it, the `Ractor.yield(obj)` will block. If multiple Ractors are waiting for `Ractor.yield(obj)`, only one Ractor can receive the message.
* `Ractor#take` receives a message which is waiting by `Ractor.yield(obj)` method from the specified Ractor. If the Ractor does not call `Ractor.yield` yet, the `Ractor#take` call will block.