Skip to content

Commit f822dff

Browse files
committed
fix error after solving conflict
1 parent 8969f50 commit f822dff

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ GEM
318318
zeitwerk (2.7.2)
319319

320320
PLATFORMS
321+
aarch64-linux
321322
arm64-darwin-22
322323
arm64-darwin-23
323324
arm64-darwin-24

_th/tour/traits.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ language: th
99

1010
next-page: tuples
1111
previous-page: classes
12+
topics: traits
13+
prerequisite-knowledge: expressions, classes, generics, objects, companion-objects
1214
---
1315

1416
Trait ใช้เพื่อแชร์ interface และ field ระหว่างคลาส โดยที่ trait จะคล้ายกับ interface ใน Java 8\
@@ -148,14 +150,6 @@ iterator.next() // returns 1
148150
149151
{% tab 'Scala2' for=trait-pet-example %}
150152
151-
{% tabs trait-pet-example class=tabs-scala-version %}
152-
153-
{% tab 'Scala2' for=trait-pet-example %}
154-
155-
{% tabs trait-pet-example class=tabs-scala-version %}
156-
157-
{% tab 'Scala2' for=trait-pet-example %}
158-
159153
```scala mdoc
160154
importscala.collection.mutable.ArrayBuffer
161155

0 commit comments

Comments
 (0)
close