Sha256: 8106895b5db88499398d45a0541e5669104417fcb35e6cff867652989298fc16

Contents?: true

Size: 443 Bytes

Versions: 19

Compression:

Stored size: 443 Bytes

Contents

module Elastic::Shims
  class Base
    include Elastic::Support::Traversable

    attr_reader :child

    def initialize(_child)
      @child = _child
    end

    def traverse(&_block)
      @child.traverse(&_block)
    end

    def render(_options = {})
      @child.render(_options)
    end

    def handle_result(_raw, _formatter)
      @child.handle_result(_raw, _formatter)
    end
  end
end

require "elastic/shims/concerns/hit_picker"

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
elastic-rails-1.0.4 lib/elastic/shims/base.rb
elastic-rails-1.0.3 lib/elastic/shims/base.rb
elastic-rails-1.0.2 lib/elastic/shims/base.rb
elastic-rails-1.0.1 lib/elastic/shims/base.rb
elastic-rails-1.0.0 lib/elastic/shims/base.rb
elastic-rails-0.8.7 lib/elastic/shims/base.rb
elastic-rails-0.8.6 lib/elastic/shims/base.rb
elastic-rails-0.8.5 lib/elastic/shims/base.rb
elastic-rails-0.8.4 lib/elastic/shims/base.rb
elastic-rails-0.8.3 lib/elastic/shims/base.rb
elastic-rails-0.8.2 lib/elastic/shims/base.rb
elastic-rails-0.8.1 lib/elastic/shims/base.rb
elastic-rails-0.8.0 lib/elastic/shims/base.rb
elastic-rails-0.7.0 lib/elastic/shims/base.rb
elastic-rails-0.6.4 lib/elastic/shims/base.rb
elastic-rails-0.6.3 lib/elastic/shims/base.rb
elastic-rails-0.6.2 lib/elastic/shims/base.rb
elastic-rails-0.6.1 lib/elastic/shims/base.rb
elastic-rails-0.6.0 lib/elastic/shims/base.rb