instance method end_with?

Ruby on Rails 6.1.7.10

Since v6.1.7.10 Last seen in v6.1.7.10

Signature

end_with?(*suffixes)

No documentation comment.

Parameters

suffixes rest
Source
# File activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb, line 8
  def end_with?(*suffixes)
    to_s.end_with?(*suffixes)
  end

Defined in activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb line 8 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Symbol

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close