Class: CLI::DSL::Input
- Includes:
- Cast, Description
- Defined in:
- lib/cli/dsl.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Description
Methods included from Cast
Methods inherited from Base
Constructor Details
This class inherits a constructor from CLI::DSL::Base
Instance Method Details
#to_s ⇒ Object
80 81 82 |
# File 'lib/cli/dsl.rb', line 80 def to_s (@name or @options[:cast] or 'data').to_s.tr('_', '-') end |