diff --git a/bg/documentation/ruby-from-other-languages/index.md b/bg/documentation/ruby-from-other-languages/index.md index 7132adfede..8e69cc515f 100644 --- a/bg/documentation/ruby-from-other-languages/index.md +++ b/bg/documentation/ruby-from-other-languages/index.md @@ -312,7 +312,7 @@ end Оператоите, които следват не са методи и поради това не могат да бъдат предефинирани: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} В допълнение `+=`, `*=` и т.н са съкращения за `var = var + other_var`, diff --git a/de/documentation/ruby-from-other-languages/index.md b/de/documentation/ruby-from-other-languages/index.md index 4d5cac1aa8..a7809b46e9 100644 --- a/de/documentation/ruby-from-other-languages/index.md +++ b/de/documentation/ruby-from-other-languages/index.md @@ -440,7 +440,7 @@ Die folgenden Operatoren sind *kein* syntaktischer Zucker. Sie sind keine Methoden, und können nicht umdefiniert werden: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Zudem sind `+=`, `*=`, usw. nur Abkürzungen für `foo = foo + bar`, diff --git a/en/documentation/ruby-from-other-languages/index.md b/en/documentation/ruby-from-other-languages/index.md index 339fd034c7..10c144185c 100644 --- a/en/documentation/ruby-from-other-languages/index.md +++ b/en/documentation/ruby-from-other-languages/index.md @@ -410,7 +410,7 @@ To define the unary + and - (think +1 and -2), you must define the `+@` and though. They are not methods, and cannot be redefined: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} In addition, `+=`, `*=` etc. are just abbreviations for `var = var + other_var`, diff --git a/es/documentation/ruby-from-other-languages/index.md b/es/documentation/ruby-from-other-languages/index.md index ad8d36789e..c71b780e8c 100644 --- a/es/documentation/ruby-from-other-languages/index.md +++ b/es/documentation/ruby-from-other-languages/index.md @@ -431,7 +431,7 @@ Sin embargo, los siguientes operadores **no** son simplificaciones sintácticas. No son métodos, y no pueden ser redefinidos: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Además, `+=`, `*=` etc. sólo son abreviaciones para `var = var + otra_var`, diff --git a/fr/documentation/ruby-from-other-languages/index.md b/fr/documentation/ruby-from-other-languages/index.md index 638bf8cde5..43a23a5577 100644 --- a/fr/documentation/ruby-from-other-languages/index.md +++ b/fr/documentation/ruby-from-other-languages/index.md @@ -433,7 +433,7 @@ Les opérateurs ci-dessous ne sont pas des méthodes, et ne peuvent pas être modifiés : {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Par ailleurs, `+=`, `*=`, etc. ne sont que des raccourcis pour diff --git a/id/documentation/ruby-from-other-languages/index.md b/id/documentation/ruby-from-other-languages/index.md index ef9523f01b..c852546df1 100644 --- a/id/documentation/ruby-from-other-languages/index.md +++ b/id/documentation/ruby-from-other-languages/index.md @@ -459,7 +459,7 @@ Operator-operator dibawah ini bukan metode dan tidak dapat didefinisikan ulang: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Tambahan, `+=`, `*=` dan lain sebagainya hanyalah singkatan untuk diff --git a/it/documentation/ruby-from-other-languages/index.md b/it/documentation/ruby-from-other-languages/index.md index 0b03417431..6bb323b9df 100644 --- a/it/documentation/ruby-from-other-languages/index.md +++ b/it/documentation/ruby-from-other-languages/index.md @@ -432,7 +432,7 @@ I seguenti operatori però **non** sono zucchero sintattico: non sono metodi e non possono essere ridefiniti: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Inoltre, `+=`, `*=` ecc. sono solo abbreviazioni di diff --git a/ja/documentation/ruby-from-other-languages/index.md b/ja/documentation/ruby-from-other-languages/index.md index 593347e0ae..e3901341f9 100644 --- a/ja/documentation/ruby-from-other-languages/index.md +++ b/ja/documentation/ruby-from-other-languages/index.md @@ -425,7 +425,7 @@ C++の`operator+`などは必要ありません。 これらはメソッドではないので、再定義できません。 {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} 加えて`+=`、`*=`などは`var = var + other_var`、`var = var * other_var` diff --git a/ko/documentation/ruby-from-other-languages/index.md b/ko/documentation/ruby-from-other-languages/index.md index e0e81073fa..6420e2fea2 100644 --- a/ko/documentation/ruby-from-other-languages/index.md +++ b/ko/documentation/ruby-from-other-languages/index.md @@ -397,7 +397,7 @@ C++의 `operator+` 같은 건 필요 없습니다. 아니며 재정의할 수 없습니다. {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} 덧붙여, `+=`, `*=` 등등은 `var = var + other_var`, `var = var * other_var` diff --git a/pl/documentation/ruby-from-other-languages/index.md b/pl/documentation/ruby-from-other-languages/index.md index e949eb0d45..15a38c7f35 100644 --- a/pl/documentation/ruby-from-other-languages/index.md +++ b/pl/documentation/ruby-from-other-languages/index.md @@ -410,7 +410,7 @@ odpowiednio metody `+@` i `-@`. Poniższe operatory jednak przedefiniować. {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Dodatkowo, `+=`, `*=` etc. są po prostu skrótami dla `var = var + other_var`, diff --git a/pt/documentation/ruby-from-other-languages/index.md b/pt/documentation/ruby-from-other-languages/index.md index 8618ef963b..8e1ce1ee86 100644 --- a/pt/documentation/ruby-from-other-languages/index.md +++ b/pt/documentation/ruby-from-other-languages/index.md @@ -424,7 +424,7 @@ Os operadores abaixo não são, no entanto, açúcar sintáctico.Não são métodos, e não podem ser redifinidos: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Como `+=`, `*=` etc. são somente abreviações para `var = var + outra_var`, diff --git a/ru/documentation/ruby-from-other-languages/index.md b/ru/documentation/ruby-from-other-languages/index.md index 916877e5c5..9fe5167c68 100644 --- a/ru/documentation/ruby-from-other-languages/index.md +++ b/ru/documentation/ruby-from-other-languages/index.md @@ -400,7 +400,7 @@ end Они не являются методами и не могут быть переопределены: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} В дополнение к этому, `+=`, `*=` и т.д. - это всего лишь сокращения для diff --git a/tr/documentation/ruby-from-other-languages/index.md b/tr/documentation/ruby-from-other-languages/index.md index 8224021e93..fca94ed868 100644 --- a/tr/documentation/ruby-from-other-languages/index.md +++ b/tr/documentation/ruby-from-other-languages/index.md @@ -396,7 +396,7 @@ Aşağıdaki operatörler bu şekilde değerlendirilmezler. Bunlar metod değildir ve tekrar tanımlanamazlar: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Ek olarak, `+=`, `*=` vb. şunların kısaltmasıdır : `var = var + other_var`, diff --git a/vi/documentation/ruby-from-other-languages/index.md b/vi/documentation/ruby-from-other-languages/index.md index e7098a9c8f..4fade110b6 100644 --- a/vi/documentation/ruby-from-other-languages/index.md +++ b/vi/documentation/ruby-from-other-languages/index.md @@ -410,7 +410,7 @@ Các toán tử dưới đây **không** có cú pháp. Nó không phải là c phương thức, và không thể tái định nghĩa: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} Thêm vào đó, `+=`, `*=` v.v. chỉ là cách viết tắt cho `var = var + other_var`, diff --git a/zh_cn/documentation/ruby-from-other-languages/index.md b/zh_cn/documentation/ruby-from-other-languages/index.md index 5544259ab7..6935c97f8a 100644 --- a/zh_cn/documentation/ruby-from-other-languages/index.md +++ b/zh_cn/documentation/ruby-from-other-languages/index.md @@ -333,7 +333,7 @@ end 定义了 `[]` 和 `[]=` 方法后,你甚至拥有了数组风格的访问方法。要想定义一元操作符 + 和 -,你也必须定义相应的 `+@` 和 `-@` 方法。下面的操作符 **不是** 语法糖,它们不是方法,无法重新被定义: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} 此外,`+=`、`*=` 等类似操作符只是 `var = var + other_var`、 `var = var * other_var`等的简写。因此也无法重新被定义。 diff --git a/zh_tw/documentation/ruby-from-other-languages/index.md b/zh_tw/documentation/ruby-from-other-languages/index.md index 7756d2ce53..de1dd5a82e 100644 --- a/zh_tw/documentation/ruby-from-other-languages/index.md +++ b/zh_tw/documentation/ruby-from-other-languages/index.md @@ -358,7 +358,7 @@ end 以下的操作符則**不是**語法包裝。它們不是方法,不能被覆寫定義: {% highlight ruby %} -=, .., ..., !, not, &&, and, ||, or, !=, !~, :: +=, .., ..., not, &&, and, ||, or, :: {% endhighlight %} 此外 `+=`, `*=` 等只是 `var = var + other_var` 跟 `var = var * other_var`