Change swift class name to Square

This commit is contained in:
Assaf Gelber 2014-08-28 14:00:25 +03:00
parent 013112b9b3
commit c9400c2a7d

View File

@ -157,7 +157,7 @@ print(numbers) // [3, 6, 18]
// structured object, you should use a `struct`
// A simple class `Square` extends `Shape`
class Rect: Shape {
class Square: Shape {
var sideLength: Int = 1
// Custom getter and setter property