Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/deployinator/base.rb

Instance Method Summary collapse

Instance Method Details

#start_with?(str) ⇒ Boolean

Returns:

  • (Boolean)


54
55
56
# File 'lib/deployinator/base.rb', line 54

def start_with?(str)
  self.index(str) == 0
end