module Elastics
Constants
- Conf
shorter alias
- Configuration
- LIB_PATHS
- Prunable
- Vars
shorter alias
Public Instance Methods
ansi()
click to toggle source
# File lib/elastics/configuration.rb, line 33 def ansi Dye.color? end
ansi=(bool)
click to toggle source
force color in console (used with jruby)
# File lib/elastics/configuration.rb, line 29 def ansi=(bool) Dye.color = bool end
configure() { |self| ... }
click to toggle source
# File lib/elastics/configuration.rb, line 20 def configure yield self end
indices()
click to toggle source
# File lib/elastics/configuration.rb, line 24 def indices @indices ||= Indices.new(config_file) end