Skip to content

Commit da5b10a

Browse files
meisyalstomar
authored andcommitted
Fix statement about evaluation strategy of methods (id) (#1428)
1 parent 16fd813 commit da5b10a

File tree

1 file changed

+2
-2
lines changed
  • id/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp

1 file changed

+2
-2
lines changed

id/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ Tidak seperti C, di Ruby,...
126126
di *compile* ke *machine-code* ataupun ke *byte-code*.
127127
* Semua variabel ada di heap. Lebih jauh, Anda tidak perlu membebaskan
128128
variabel, sudah ada garbage collector untuk itu.
129-
* Argument-argument di metode (atau function) di pass by reference,
130-
bukan by value.
129+
* Argument-argument di metode (atau function) di pass by value, di mana
130+
value selalu objek reference.
131131
* `require 'foo'` bukan `#include <foo>` atau `#include "foo"`.
132132
* Anda tidak bisa drop down ke assembly.
133133
* Tidak pakai semicolon (titik koma `;`) di tiap akhir baris kode.

0 commit comments

Comments
 (0)