Skip to content

Commit

Permalink
Fix example for "Variable length arguments" section
Browse files Browse the repository at this point in the history
  • Loading branch information
feeeper committed Jun 2, 2015
1 parent f6b94b8 commit 23e628b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ru/basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ <h3>Использование переменного количества ар
arg.capitalize
}
}

scala&gt; capitalizeAll("rarity", "applejack")
res2: Seq[String] = ArrayBuffer(Rarity, Applejack)
</pre>
<h2 id="class">Классы</h2>
<pre>
Expand Down

1 comment on commit 23e628b

@feeeper
Copy link
Author

@feeeper feeeper commented on 23e628b Jun 2, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using of the capitalizeAll function has been added

Please sign in to comment.