Sha256: 29c98beb7fc051f54ff3b225840296d0468d3d979ace45558ceba08e1387e6c5
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 Bytes
Contents
module Indexers class Configuration attr_accessor :hosts, :log, :trace def mappings(&block) if block_given? @mappings = Dsl::Api.new(&block).to_h else @mappings end end def analysis(&block) if block_given? @analysis = { analysis: Dsl::Api.new(&block).to_h } else @analysis end end def suggestions(&block) if block_given? @suggestions = block else @suggestions end end def computed_sort(*args, &block) Indexers.computed_sorts.add *args, &block end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
indexers-5.1.0 | lib/indexers/configuration.rb |
indexers-4.1.0.1 | lib/indexers/configuration.rb |
indexers-4.1.0.0 | lib/indexers/configuration.rb |