Sha256: edf4268fea5ca2e267246c9205fd9c06c69ab7fab870a7bbfc2b594daf777710
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
module Riddle class Configuration class Common < Riddle::Configuration::Section 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 attr_accessor :common_sphinx_configuration, *settings def render return unless common_sphinx_configuration raise ConfigurationError unless valid? ( ["common", "{"] + settings_body + ["}", ""] ).join("\n") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
riddle-2.2.0 | lib/riddle/configuration/common.rb |
riddle-2.1.0 | lib/riddle/configuration/common.rb |
riddle-2.0.0 | lib/riddle/configuration/common.rb |