lib/riddle/configuration/indexer.rb in riddle-1.3.3 vs lib/riddle/configuration/indexer.rb in riddle-1.4.0

- old
+ new

@@ -1,10 +1,14 @@ module Riddle class Configuration class Indexer < Riddle::Configuration::Section - self.settings = [:mem_limit, :max_iops, :max_iosize, :max_xmlpipe2_field, - :write_buffer, :max_file_field_buffer] + def self.settings + [ + :mem_limit, :max_iops, :max_iosize, :max_xmlpipe2_field, + :write_buffer, :max_file_field_buffer + ] + end attr_accessor *self.settings def render raise ConfigurationError unless valid? @@ -15,6 +19,6 @@ ["}", ""] ).join("\n") end end end -end \ No newline at end of file +end