Class: Luban::CLI::NegatableSwitch

Inherits:
Switch show all
Defined in:
lib/luban/cli/base/switch.rb

Instance Attribute Summary

Attributes inherited from Argument

#description, #display_name, #name, #value

Instance Method Summary collapse

Methods inherited from Switch

#default_str

Methods inherited from Option

#default_imperative, #default_str, #specs

Methods inherited from Argument

#[], #assured?, #default_imperative, #default_type, #has_default?, #initialize, #match?, #missing?, #multiple?, #optional?, #required?, #reset, #valid?, #validate, #within?

Constructor Details

This class inherits a constructor from Luban::CLI::Argument

Instance Method Details

#kindObject



28
# File 'lib/luban/cli/base/switch.rb', line 28

def kind; @kind ||= "negatable switch"; end