Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/restrack/support.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
56 57 58 59 |
# File 'lib/restrack/support.rb', line 56 def blank? # Courtesy of Rails' ActiveSupport, thank you DHH et al. respond_to?(:empty?) ? empty? : !self end |