Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/ratatouille/nilclass.rb

Overview

MonkeyPatch NilClass to return true for empty?

Instance Method Summary collapse

Instance Method Details

#empty?Boolean



3
4
5
# File 'lib/ratatouille/nilclass.rb', line 3

def empty?
  return true
end