Class: NilClass

Inherits:
Object show all
Includes:
TransparentNil
Defined in:
lib/transparent_nil/nil.rb

Return nil collapse

Return something collapse

Instance Method Details

#+(other) ⇒ nil Originally defined in module TransparentNil

#-(other) ⇒ nil Originally defined in module TransparentNil

#<(*a) ⇒ nil Originally defined in module TransparentNil

#<<(element) ⇒ Array Originally defined in module TransparentNil

Returns one element array

Returns:

  • (Array)

    one element array

#<=>(*a) ⇒ nil Originally defined in module TransparentNil

#=~(other) ⇒ Boolean Originally defined in module TransparentNil

false

Returns:

  • (Boolean)

#>(*a) ⇒ nil Originally defined in module TransparentNil

#[](*a) ⇒ nil Originally defined in module TransparentNil

#[]=(*a) ⇒ nil Originally defined in module TransparentNil

#absnil Originally defined in module TransparentNil

#chopnil Originally defined in module TransparentNil

#clearnil Originally defined in module TransparentNil

#codenil Originally defined in module TransparentNil

#collect(&block) ⇒ nil Originally defined in module TransparentNil

#compactnil Originally defined in module TransparentNil

#count(*a) ⇒ Integer Originally defined in module TransparentNil

0.

Returns:

  • (Integer)

#downcasenil Originally defined in module TransparentNil

#dupnil Originally defined in module TransparentNil

#each(*a) ⇒ nil Originally defined in module TransparentNil

#empty?Boolean Originally defined in module TransparentNil

true

Returns:

  • (Boolean)

#grep(*a) ⇒ nil Originally defined in module TransparentNil

#gsub(*a) ⇒ nil Originally defined in module TransparentNil

#gsub!(*a) ⇒ nil Originally defined in module TransparentNil

#include?(*a) ⇒ Boolean Originally defined in module TransparentNil

false. Redundante Definition!

Returns:

  • (Boolean)

#joinnil Originally defined in module TransparentNil

#keysnil Originally defined in module TransparentNil

#lengthInteger Originally defined in module TransparentNil

0.

Returns:

  • (Integer)

#pop(*a) ⇒ nil Originally defined in module TransparentNil

#push(*a) ⇒ nil Originally defined in module TransparentNil

#sizeInteger Originally defined in module TransparentNil

0.

Returns:

  • (Integer)

#split(*a) ⇒ Array Originally defined in module TransparentNil

Empty Array.

Returns:

  • (Array)

#strip(*a) ⇒ nil Originally defined in module TransparentNil

#strip!(*a) ⇒ nil Originally defined in module TransparentNil

#sub(*a) ⇒ nil Originally defined in module TransparentNil

#substract(other) ⇒ nil Originally defined in module TransparentNil

#to_inil Originally defined in module TransparentNil

#to_integernil Originally defined in module TransparentNil

#to_nilnil Originally defined in module TransparentNil

#to_nil_if(*a) ⇒ nil Originally defined in module TransparentNil

#to_nil_unless(*a) ⇒ nil Originally defined in module TransparentNil

#to_symnil Originally defined in module TransparentNil

#uniqnil Originally defined in module TransparentNil

#uniq!nil Originally defined in module TransparentNil