Class: Hash

Inherits:
Object show all
Defined in:
lib/marfa/helpers/classes/hash.rb

Overview

Hash class extending

Instance Method Summary collapse

Instance Method Details

#present?true, false

Object isn’t blank

Returns:

  • (true, false)


7
8
9
# File 'lib/marfa/helpers/classes/hash.rb', line 7

def present?
  !blank?
end