From: Martin Durai Date: 2007-11-20T20:21:08+09:00 Subject: read, write, seek method in a ring buffer class Could any body help me with creating a ring buffer class using a string. use memory circular buffer not an IO buffer. just read, write and seek method. Read method should take anumber and return the string. write method should take a string. seek should take a number and return nuthing. use three member variables a buffer itself as a string, read_position, write_position. use >>, << methods. Thanks in advance -- Posted via http://www.ruby-forum.com/.