Sha256: 976f6ecd9287134c37b4b92d0e5b1a204169e2fcef011d661f66ca2463b1773d
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
module Elasticsearch module Persistence 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 end
Version data entries
2 entries across 2 versions & 1 rubygems