Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_ext/core/nil_class.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


2
# File 'lib/ruby_ext/core/nil_class.rb', line 2

def blank?; true end

#to_openobject(deep = false) ⇒ Object Also known as: to_oo



4
5
6
# File 'lib/ruby_ext/core/nil_class.rb', line 4

def to_openobject deep = false
  OpenObject.new
end