Sha256: 9fb82bc48d7836fe03f52cc5b5c981d07616633563af76783d5eaeb99d5382d7
Contents?: true
Size: 316 Bytes
Versions: 1
Compression:
Stored size: 316 Bytes
Contents
module Indices class Proxy def initialize(name, options={}, &block) @options = options instance_eval &block Indices.add name, @options end %i(mappings serializer search).each do |name| define_method name do |&block| @options[name] = block end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
indices-0.0.1 | lib/indices/proxy.rb |