Class: Symbol
| Relationships & Source Files | |
| Inherits: | Object | 
| Defined in: | activesupport/lib/active_support/core_ext/object/json.rb, activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb  | 
    
Instance Method Summary
- #end_with?(*suffixes) ⇒ Boolean (also: #ends_with?)
 - 
    
      #ends_with?(*suffixes)  
    
    
Alias for #end_with?.
 - #start_with?(*prefixes) ⇒ Boolean (also: #starts_with?)
 - 
    
      #starts_with?(*prefixes)  
    
    
Alias for #start_with?.
 
Instance Method Details
    #end_with?(*suffixes)  ⇒ Boolean 
    Also known as: #ends_with?
  
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 8
def end_with?(*suffixes) to_s.end_with?(*suffixes) end
#ends_with?(*suffixes)
Alias for #end_with?.
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 13
alias :ends_with? :end_with?
    #start_with?(*prefixes)  ⇒ Boolean 
    Also known as: #starts_with?
  
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 4
def start_with?(*prefixes) to_s.start_with?(*prefixes) end
#starts_with?(*prefixes)
Alias for #start_with?.
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 12
alias :starts_with? :start_with?