style: standardize example output markers across core docs and classes page

This commit is contained in:
Bob Nystrom
2015-10-18 22:56:52 +00:00
parent f8c5517969
commit 2f013b3538
24 changed files with 203 additions and 166 deletions
+3 -3
View File
@@ -15,14 +15,14 @@ The superclass of this class.
class Crustacean {}
class Crab is Crustacean {}
System.print(Crab.supertype) // "Crustacean".
System.print(Crab.supertype) //> Crustacean
A class with no explicit superclass implicitly inherits Object:
:::wren
System.print(Crustacean.supertype) // "Object".
System.print(Crustacean.supertype) //> Object
Object forms the root of the class hierarchy and has no supertype:
:::wren
System.print(Object.supertype) // "null".
System.print(Object.supertype) //> null