Sha256: a84aa14dd2bad7831f34627b2dea7f04e094664c6223d59c98bc4d2041f02e45
Contents?: true
Size: 428 Bytes
Versions: 11
Compression:
Stored size: 428 Bytes
Contents
module Elasticsearch module Model # Subclass of `Hashie::Mash` to wrap Hash-like structures # (responses from Elasticsearch, search definitions, etc) # # The primary goal of the subclass is to disable the # warning being printed by Hashie for re-defined # methods, such as `sort`. # class HashWrapper < ::Hashie::Mash disable_warnings if respond_to?(:disable_warnings) end end end
Version data entries
11 entries across 11 versions & 2 rubygems