indexed access to ruby objects (named property and numeric indexes)