Sha256: 27e6dcc0bbdf5f5ee1e31fe250d154f76a00e4bad12aeba772df7344c8911675

Contents?: true

Size: 407 Bytes

Versions: 87

Compression:

Stored size: 407 Bytes

Contents

module Riddle
  class Configuration
    class Indexer < Riddle::Configuration::Section
      self.settings = [:mem_limit, :max_iops, :max_iosize]
      
      attr_accessor *self.settings
            
      def render
        raise ConfigurationError unless valid?
        
        (
          ["indexer", "{"] +
          settings_body +
          ["}", ""]
        ).join("\n")
      end
    end
  end
end

Version data entries

87 entries across 87 versions & 17 rubygems

Version Path
moneypools-thinking-sphinx-1.2.13 vendor/riddle/lib/riddle/configuration/indexer.rb
moneypools-thinking-sphinx-1.2.12 vendor/riddle/lib/riddle/configuration/indexer.rb
moneypools-thinking-sphinx-1.2.11 vendor/riddle/lib/riddle/configuration/indexer.rb
warp-thinking-sphinx-1.2.12 vendor/riddle/lib/riddle/configuration/indexer.rb
thinking-sphinx-099-1.2.12 vendor/riddle/lib/riddle/configuration/indexer.rb
thinking-sphinx-1.2.12 vendor/riddle/lib/riddle/configuration/indexer.rb
riddle-0.9.8.1533.10 lib/riddle/configuration/indexer.rb