Sha256: 1b494851c1599a8cba91bc70aeed6f19fb094c962fba96810f586174519c0227

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

# Strabo

## About

Strabo prepares a Ruby object for full text search by tokenizing an objects attributes.

    class Book < Hash
      include Strabo::Indexer
    end

    book = Book.new
    book['title'] = 'Learn to Program'
    book['author'] = 'Chris Pine'
    book.keywords # => {"title"=>{"learn"=>1, "to"=>1, "program"=>1}, "author"=>{"chris"=>1, "pine"=>1}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strabo-0.0.2 readme.markdown