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
freelancing-god-thinking-sphinx-0.9.13 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.0 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.1 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.10 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.11 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.12 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.14 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.15 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.16 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.17 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.18 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.19 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.2 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.20 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.21 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.22 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.23 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.24 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.3 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-thinking-sphinx-1.1.4 vendor/riddle/lib/riddle/configuration/indexer.rb