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