Sha256: 23214f096a57a16a2c88fbc5feace07ee86caa019ffe81a31134ff12e995cc53

Contents?: true

Size: 183 Bytes

Versions: 5

Compression:

Stored size: 183 Bytes

Contents

module ActsAsIndexed
  class Tokenizer

    # Takes a string of space-separated tokens, returns an array of those tokens.
    def self.process(str)
      str.split
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_indexed-0.9.0 lib/acts_as_indexed/tokenizer.rb
acts_as_indexed-0.8.3 lib/acts_as_indexed/tokenizer.rb
acts_as_indexed-0.8.2 lib/acts_as_indexed/tokenizer.rb
acts_as_indexed-0.8.1 lib/acts_as_indexed/tokenizer.rb
acts_as_indexed-0.8.0 lib/acts_as_indexed/tokenizer.rb