Sha256: 2dbff4a6d33733dfd086cfdc8b7faf49cb5b25d0120a345580a00ac4298a8f81

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 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
      @child.render
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elastic-rails-0.5.0 lib/elastic/shims/base.rb