Convert PHP code into Ruby!
RSS icon Email icon Home icon
  • reset

    Posted on September 14th, 2009 RubyLove No comments

    The reset() function in PHP sets the internal pointer of an array to its first element. However in Ruby, there is no internal array pointer - as such Ruby doesn’t have an equivalent to PHP’s reset() function.

    Leave a reply