Module: HeteroceraStringExtensions

Included in:
String
Defined in:
lib/heterocera/ext.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

def blank?
  empty?
end

#present?Boolean

Returns:

  • (Boolean)


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

def present?
  !blank?
end