add ruby version requirement
Implemet new function 'len', 'position'