class Symbol
Public Instance Methods
end_with?(*suffixes)
click to toggle source
# File lib/active_support/core_ext/symbol/starts_ends_with.rb, line 8 def end_with?(*suffixes) to_s.end_with?(*suffixes) end
Also aliased as: ends_with?
start_with?(*prefixes)
click to toggle source
# File lib/active_support/core_ext/symbol/starts_ends_with.rb, line 4 def start_with?(*prefixes) to_s.start_with?(*prefixes) end
Also aliased as: starts_with?