add few methods to RubyBuffer