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