Methods

Instance Public methods

end_with?(*suffixes)

Also aliased as: ends_with?
📝 Source code
# File activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb, line 8
  def end_with?(*suffixes)
    to_s.end_with?(*suffixes)
  end
🔎 See on GitHub

ends_with?(*suffixes)

Alias for: end_with?

start_with?(*prefixes)

Also aliased as: starts_with?
📝 Source code
# File activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb, line 4
  def start_with?(*prefixes)
    to_s.start_with?(*prefixes)
  end
🔎 See on GitHub

starts_with?(*prefixes)

Alias for: start_with?