Sha256: dda67d3320753def4f5626d8e9c0b42082f5628b948e2f7e9d891ec32e4acbc4
Contents?: true
Size: 331 Bytes
Versions: 8
Compression:
Stored size: 331 Bytes
Contents
# Ruby 1.8.7 added String#start_with? - monkeypatch the # String class if it isn't supported (<= ruby 1.8.6) if !String.instance_methods.include?("start_with?") class String public def start_with?(str) return self[0 .. (str.length-1)] == str end end end require "logstash/rubyfixes/regexp_union_takes_array"
Version data entries
8 entries across 8 versions & 1 rubygems