Class: Object

Inherits:
BasicObject
Defined in:
lib/not_methods.rb

Instance Method Summary collapse

Instance Method Details

#not_blank?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/not_methods.rb', line 10

def not_blank?
  !blank?
end

#not_empty?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/not_methods.rb', line 14

def not_empty?
  !empty?
end

#not_nil?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/not_methods.rb', line 6

def not_nil?
  !nil?
end

#not_present?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/not_methods.rb', line 18

def not_present?
  !present?
end