method
starts_with?
v2.0.3 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::String::StartsEndsWith
starts_with?(prefix)public
Does the string start with the specified prefix?
starts_with?(prefix)Does the string start with the specified prefix?