feat: add ruby code block - chapter data structure (#1227)
This commit is contained in:
parent
4fadad50ba
commit
bd54594a90
@ -166,13 +166,14 @@
|
|||||||
=== "Ruby"
|
=== "Ruby"
|
||||||
|
|
||||||
```ruby title=""
|
```ruby title=""
|
||||||
|
# Ruby 的列表可以自由存储各种基本数据类型和对象引用
|
||||||
|
data = [0, 0.0, 'a', false, ListNode(0)]
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Zig"
|
=== "Zig"
|
||||||
|
|
||||||
```zig title=""
|
```zig title=""
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
??? pythontutor "可视化运行"
|
??? pythontutor "可视化运行"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user