Class NilClass
In: lib/facets/standard/facets/ostruct.rb
lib/facets/standard/facets/pathname.rb
Parent: Object

Methods

Public Instance methods

Create an empty OpenStruct object.

[Source]

# File lib/facets/standard/facets/ostruct.rb, line 205
  def to_ostruct
    OpenStruct.new
  end

Provide platform dependent null path.

CREDIT Daniel Burger

[Source]

# File lib/facets/standard/facets/pathname.rb, line 236
  def to_path
    Pathname.null
  end

[Validate]