Class: LilUtils::CLI::Yes

Inherits:
SingleLetterOption show all
Defined in:
lib/lilutils/cli/cli.rb

Overview

The class that identifies a user “Yes”. This class is an example of an option where the name of the option is derived from the name of the class itself. Handy extension.

Instance Attribute Summary

Attributes inherited from Option

#name

Method Summary

Methods inherited from SingleLetterOption

#as_default, #as_non_default

Methods inherited from Option

#==, #as_default, #as_non_default, #initialize, #key, #to_s, #valid_response

Constructor Details

This class inherits a constructor from LilUtils::CLI::Option