Class: Riddle::Configuration::Common
- Defined in:
- lib/riddle/configuration/common.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Section
Class Method Details
.settings ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/riddle/configuration/common.rb', line 6 def self.settings [ :lemmatizer_base, :json_autoconv_numbers, :json_autoconv_keynames, :on_json_attr_error, :rlp_root, :rlp_environment, :rlp_max_batch_size, :rlp_max_batch_docs, :plugin_dir ] end |
Instance Method Details
#render ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/riddle/configuration/common.rb', line 16 def render return unless common_sphinx_configuration raise ConfigurationError unless valid? ( ["common", "{"] + settings_body + ["}", ""] ).join("\n") end |