mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-04 22:28:40 +08:00
feat: add ruby code block - chapter data structure (#1227)
This commit is contained in:
@ -166,7 +166,8 @@
|
|||||||
=== "Ruby"
|
=== "Ruby"
|
||||||
|
|
||||||
```ruby title=""
|
```ruby title=""
|
||||||
|
# Ruby 的列表可以自由存储各种基本数据类型和对象引用
|
||||||
|
data = [0, 0.0, 'a', false, ListNode(0)]
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Zig"
|
=== "Zig"
|
||||||
|
|||||||
Reference in New Issue
Block a user