Class String
In: lib/mcollective/monkey_patches.rb
Parent: Object

start_with? was introduced in 1.8.7, we need to support 1.8.5 and 1.8.6

Methods

Public Instance methods

[Source]

   # File lib/mcollective/monkey_patches.rb, line 4
4:   def start_with?(str)
5:     return self[0 .. (str.length-1)] == str
6:   end

[Validate]