Class: NilClass

Inherits:
Object show all
Defined in:
lib/xiki/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

def blank?
  self.nil?
end

#empty?Boolean

Returns:

  • (Boolean)


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

def empty?
  self.nil?
end