Module: Lab42::Nil

Extended by:
Enumerable, Nil
Included in:
Nil
Defined in:
lib/lab42/nil.rb

Instance Method Summary collapse

Instance Method Details

#deconstructObject



7
# File 'lib/lab42/nil.rb', line 7

def deconstruct = []

#eachObject



8
# File 'lib/lab42/nil.rb', line 8

def each = self

#empty?Boolean

Returns:

  • (Boolean)


9
# File 'lib/lab42/nil.rb', line 9

def empty? = true

#lengthObject



10
# File 'lib/lab42/nil.rb', line 10

def length = 0