Sha256: d4703265d6129b1e3a8d1a61f04e519953f13e25ef6b46fdc8572f3787485e52

Contents?: true

Size: 246 Bytes

Versions: 13

Compression:

Stored size: 246 Bytes

Contents

module ThinkingSphinx::Core::Settings
  private
  def apply_defaults!(defaults = self.class.settings)
    defaults.each do |setting|
      value = config.settings[setting.to_s]
      send("#{setting}=", value) unless value.nil?
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.1.4 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.1.3 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.1.2 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.1.1 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.1.0 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.0.6 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.0.5 lib/thinking_sphinx/core/settings.rb
thinking-sphinx-3.0.4 lib/thinking_sphinx/core/settings.rb