Sha256: 3f48ccb35d45a341b653250b10fc18ae39ab65113e1486b0e5af3716d05dfac6
Contents?: true
Size: 219 Bytes
Versions: 6
Compression:
Stored size: 219 Bytes
Contents
# frozen_string_literal: true module Resolvers class BaseSearchResolver < BaseResolver include SearchObject.module(:graphql) def escape_search_term(term) "%#{term.gsub(/\s+/, '%')}%" end end end
Version data entries
6 entries across 6 versions & 1 rubygems