Sha256: 408f7d4353b4430f1924eeaf2ac6cab29bae25d6c06cefd4c67095fa8fb00166

Contents?: true

Size: 451 Bytes

Versions: 14

Compression:

Stored size: 451 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
skalee-thinking-sphinx-1.3.14.2 vendor/riddle/lib/riddle/configuration/indexer.rb
skalee-thinking-sphinx-1.3.14.1 vendor/riddle/lib/riddle/configuration/indexer.rb
riddle-1.0.12 lib/riddle/configuration/indexer.rb
riddle-1.0.11 lib/riddle/configuration/indexer.rb
riddle-1.0.10 lib/riddle/configuration/indexer.rb
riddle-1.0.9 lib/riddle/configuration/indexer.rb
riddle-1.0.8 lib/riddle/configuration/indexer.rb
riddle-1.0.7 lib/riddle/configuration/indexer.rb
riddle-1.0.6 lib/riddle/configuration/indexer.rb
riddle-1.0.5 lib/riddle/configuration/indexer.rb
riddle-1.0.4 lib/riddle/configuration/indexer.rb
riddle-1.0.3 lib/riddle/configuration/indexer.rb
riddle-1.0.2 lib/riddle/configuration/indexer.rb
riddle-1.0.1 lib/riddle/configuration/indexer.rb