Add Ruby code blocks to the documents (#1200)

* Add Ruby code blocks to documents

* Remove Ruby code from en/docs
This commit is contained in:
Yudong Jin
2024-03-31 03:57:11 +08:00
committed by GitHub
parent 034ee65e9a
commit 57bdfd6284
21 changed files with 259 additions and 255 deletions

View File

@ -352,6 +352,12 @@
val isEmpty = deque.isEmpty()
```
=== "Ruby"
```ruby title="deque.rb"
```
=== "Zig"
```zig title="deque.zig"

View File

@ -328,6 +328,12 @@
val isEmpty = queue.isEmpty()
```
=== "Ruby"
```ruby title="queue.rb"
```
=== "Zig"
```zig title="queue.zig"

View File

@ -322,6 +322,12 @@
val isEmpty = stack.isEmpty()
```
=== "Ruby"
```ruby title="stack.rb"
```
=== "Zig"
```zig title="stack.zig"