Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/dohutil/to_display.rb,
lib/dohutil/core_ext/blank.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
3 4 5 6 7 8 9 |
# File 'lib/dohutil/core_ext/blank.rb', line 3 def blank? if respond_to?(:empty?) empty? else !self end end |
#to_display ⇒ Object
4 5 6 |
# File 'lib/dohutil/to_display.rb', line 4 def to_display to_s end |