123456789_123456789_123456789_123456789_123456789_

Class: Symbol

Instance Method Summary

Instance Method Details

#blank?

A Symbol is blank if it’s empty:

:''.blank?     # => true
:symbol.blank? # => false
[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/object/blank.rb', line 128

alias_method :blank?, :empty?

#ends_with?

[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 5

alias :ends_with? :end_with?

#starts_with?

[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/symbol/starts_ends_with.rb', line 4

alias :starts_with? :start_with?