Class NilClass
In: lib/more/facets/openobject.rb
lib/more/facets/pathname.rb
Parent: Object

Core Extensions

Methods

Public Instance methods

Nil converts to an empty OpenObject.

[Source]

     # File lib/more/facets/openobject.rb, line 233
233:   def to_openobject
234:     OpenObject.new
235:   end

Provide platform dependent null path.

CREDIT Daniel Burger

[Source]

     # File lib/more/facets/pathname.rb, line 168
168:   def to_path
169:     Pathname.null
170:   end

[Validate]