Module: Pili::Utils
- Defined in:
- lib/pili/utils.rb
Class Method Summary collapse
Class Method Details
.blank?(arg) ⇒ Boolean
7 8 9 |
# File 'lib/pili/utils.rb', line 7 def blank?(arg) arg.to_s.strip.length == 0 end |
7 8 9 |
# File 'lib/pili/utils.rb', line 7 def blank?(arg) arg.to_s.strip.length == 0 end |