Sha256: a6122aca2853f584766ec13e1f9f3a390c5b2dc1282c0d6f750d3c79af128883
Contents?: true
Size: 335 Bytes
Versions: 27
Compression:
Stored size: 335 Bytes
Contents
# Steep runs on Ruby 2.6 and it needs a shim of `Symbol#start_with?` module Shims module SymbolStartWith def start_with?(*args) to_s.start_with?(*args) end def end_with?(*args) to_s.end_with?(*args) end end unless Symbol.method_defined?(:start_with?) Symbol.include(SymbolStartWith) end end
Version data entries
27 entries across 27 versions & 1 rubygems