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