Sha256: 7c7effc0883e6be0205542e9547934e386bba1b1d3d7d9bd4b51897919929d76

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

class Directory {
  """
  Instances of @Directory@ represent directories in the filesystem of
  the operating system, in which Fancy is being run.
  """

  def self exists?: dirname {
    """
    @dirname Path of @Directory@ to check for existance.
    @@return @true, if @Directory@ exists, @false otherwise.

    Indicates, if a Directory exists with a given pathname.
    """

    (File exists?: dirname) && { File directory?: dirname }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fancy-0.10.0 lib/directory.fy
fancy-0.9.0 lib/directory.fy