Improve the class example for several languages.

Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
This commit is contained in:
Olly Betts 2014-02-23 18:05:50 +13:00
commit 34c97ffdbd
23 changed files with 154 additions and 412 deletions

View file

@ -45,5 +45,9 @@ end
# Notice how the Shape#area() and Shape#perimeter() functions really
# invoke the appropriate virtual method on each object.
# Remove references to the object and force a garbage collection run.
c = s = o = nil
GC.start()
print "\n", Example::Shape.nshapes," shapes remain\n"
print "Goodbye\n"