Class: Object

Inherits:
BasicObject
Defined in:
lib/not_helpers.rb

Instance Method Summary collapse

Instance Method Details

#not_blank?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/not_helpers.rb', line 8

def not_blank?
  !blank?
end

#not_empty?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/not_helpers.rb', line 12

def not_empty?
  !empty?
end

#not_nil?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/not_helpers.rb', line 4

def not_nil?
  !nil?
end

#not_present?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/not_helpers.rb', line 16

def not_present?
  !present?
end