Sha256: 3f41d126a359b918435fbf8700557f6c7af3be1ebcf83757ed4f56862eb18f4c
Contents?: true
Size: 335 Bytes
Versions: 15
Compression:
Stored size: 335 Bytes
Contents
# Monkeypatch for slashes to work module Elasticsearch module API # Generic utility methods # module Utils alias_method :__pathify_without_slashes, :__pathify def __pathify(*segments) __pathify_without_slashes(*segments.map { |s| s.gsub('/', '%2F')}).gsub('%252F', '%2F') end end end end
Version data entries
15 entries across 15 versions & 1 rubygems