class PunchCard::Options

Overview

The dedicated Cli::OptionModel subclass for the PunchCard class.

This class is automatically defined by the Crystal CLI library.

Defined in:

punch-card.cr:14
punch-card.cr:19

Instance Method Summary

Instance Method Detail

def input #

Returns the INPUT argument value.

This method is automatically defined by the optarg library.


def input? #

Returns the INPUT argument value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def p #

Returns the -p option value.

This method is automatically defined by the optarg library.


def p? #

Returns the -p option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.


def project #

Returns the -p option value.

This method is automatically defined by the optarg library.


def project? #

Returns the -p option value.

Returns nil, if the value is undefined.

This method is automatically defined by the optarg library.