Class: String
- Includes:
- Inflections
- Defined in:
- lib/assistance/blank.rb,
lib/assistance/inflections.rb
Instance Method Summary collapse
Methods included from Inflections
#camelize, #classify, #constantize, #dasherize, #demodulize, #foreign_key, #humanize, #pluralize, #singularize, #tableize, #titleize, #underscore
Instance Method Details
#blank? ⇒ Boolean
32 33 34 |
# File 'lib/assistance/blank.rb', line 32 def blank? empty? || self =~ /\A\s*\Z/ end |