Add missed built in classes into main object's scope.
@@ -33,7 +33,7 @@ func init() {
}
func initMainObj() {
- builtInClasses := []Class{StringClass, BooleanClass, IntegerClass}
+ builtInClasses := []Class{StringClass, BooleanClass, IntegerClass, ArrayClass, HashClass, NullClass, ClassClass}
obj := &RObject{Class: ObjectClass, InstanceVariables: NewEnvironment()}
scope := &Scope{Self: obj, Env: NewEnvironment()}
