Class: Luban::CLI::NegatableSwitch
- 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
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
#kind ⇒ Object
28 |
# File 'lib/luban/cli/base/switch.rb', line 28 def kind; @kind ||= "negatable switch"; end |