# File rc.rb, line 115 def cycle_view aTarget tags = Wmii.tags curTag = Wmii.current_view.name curIndex = tags.index(curTag) newIndex = case aTarget when :right curIndex + 1 when :left curIndex - 1 else return end % tags.length Wmii.focus_view tags[newIndex] end