Class: Riddle::Configuration::Indexer

Inherits:
Section
  • Object
show all
Defined in:
lib/riddle/configuration/indexer.rb

Instance Method Summary collapse

Methods inherited from Section

#valid?

Instance Method Details

#renderObject

Raises:



9
10
11
12
13
14
15
16
17
# File 'lib/riddle/configuration/indexer.rb', line 9

def render
  raise ConfigurationError unless valid?
  
  (
    ["indexer", "{"] +
    settings_body +
    ["}", ""]
  ).join("\n")
end