class String
Public Instance Methods
starts_with?(str)
click to toggle source
# File lib/console.rb, line 14 def starts_with? str self[0..str.length-1] == str end
# File lib/console.rb, line 14 def starts_with? str self[0..str.length-1] == str end