Fixed ruby contruct.