Class: Array

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

Overview

Array class extending

Instance Method Summary collapse

Instance Method Details

#present?true, false

Object isn’t blank

Returns:

  • (true, false)


8
9
10
# File 'lib/marfa/helpers/classes/array.rb', line 8

def present?
  !blank?
end