Module: Jekyll::Lunr::IndexableSite

Defined in:
lib/jekyll/lunr.rb

Overview

Add the indexer to the site

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/jekyll/lunr.rb', line 15

def self.included(base)
  base.class_eval do
    def indexer
      @indexer ||= Jekyll::Lunr::Indexer.new self
    end
  end
end