# File lib/core/facets/string/rotate.rb, line 10 def rotate(count=1) count+=self.length if count<0 self.slice(count,self.length-count)+self.slice(0,count) end