# File lib/transliteration/simple.rb, line 66
66:   def self.dirify(string)
67:     st = self.translify(string)
68:     st.gsub!(/(\s\&\s)|(\s\&amp\;\s)/, ' and ') # convert & to "and"
69:     st.gsub!(/\W/, ' ')  #replace non-chars
70:     st.gsub!(/(_)$/, '') #trailing underscores
71:     st.gsub!(/^(_)/, '') #leading unders
72:     st.strip.translify.gsub(/(\s)/,'-').downcase.squeeze('-')
73:   end