# File lib/relevance/tarantula/transform.rb, line 10
      def [](string)
        case to
        when Proc
          string.gsub(from, &to)
        else
          string.gsub(from, to)
        end
      end