Sha256: 5ac93ee892bd617e8928806d38e5a9af3cbe9fa25d6e395f627aa84d273f5967
Contents?: true
Size: 744 Bytes
Versions: 11
Compression:
Stored size: 744 Bytes
Contents
module Documentation module Searchers class Abstract attr_reader :options def initialize(options = {}) @options = options setup end # # Run whatever initial set up is needed # def setup end # # Search for a page from the index # def search(query, options = {}) [] end # # Delete a page from the index # def delete(page) false end # # Reset an index to have no data within it # def reset true end # # Add or update an page in the index # def index(page) end end end end
Version data entries
11 entries across 11 versions & 2 rubygems