Ruby mark_function example and docs fixes

Relates to Ruby trackings hash bug #225
This commit is contained in:
William S Fulton 2015-09-05 15:30:50 +01:00
commit b5873218b6
2 changed files with 3 additions and 3 deletions

View file

@ -4818,7 +4818,7 @@ public:
class Zoo class Zoo
{ {
protected: protected:
std::vector<animal *=""> animals; std::vector<Animal *> animals;
public: public:
// Construct an empty zoo // Construct an empty zoo

View file

@ -9,7 +9,7 @@ begin
zoo.add_animal(tiger1) zoo.add_animal(tiger1)
# unset variables to force gc # unset variables to force gc
tiger = nil tiger1 = nil
end end
GC.start GC.start