Sha256: 873068e948b57bd5a8ec1f8ea0f4d2a53ed8a474b8295102e2f015460db70481

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

class System {
  def System abort {
    """
    Exits the current running Fancy process (application) with an exit
    code of 1 (indicating failure).
    """

    exit: 1
  }

  def System abort: message {
    """
    @message Error message to be printed before aborting programm execution.

    Prints a given message on @*stderr* and then exits with an exit
    code of 1 (indicating failure).
    """

    *stderr* println: message
    abort
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fancy-0.7.0 lib/system.fy
fancy-0.6.0 lib/system.fy