class String
Public Instance Methods
start_with?(str)
click to toggle source
# File lib/logstash/ruby_fixes.rb, line 6 def start_with?(str) return self[0 .. (str.length-1)] == str end
# File lib/logstash/ruby_fixes.rb, line 6 def start_with?(str) return self[0 .. (str.length-1)] == str end