Skip to content

Commit

Permalink
missing sample of using capitalizeAll fuction
Browse files Browse the repository at this point in the history
Original (en) version has sample of using capitalizeAll function (see Variable length arguments)
  • Loading branch information
nikitajz authored Nov 12, 2016
1 parent 0426268 commit 578eece
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/ru/basics.textile
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def capitalizeAll(args: String*) = {
arg.capitalize
}
}

scala> capitalizeAll("rarity", "applejack")
res2: Seq[String] = ArrayBuffer(Rarity, Applejack)
</pre>

h2(#class). Классы
Expand Down

0 comments on commit 578eece

Please sign in to comment.