Method: Ark::CLI::Option#count
- Defined in:
- lib/ark/cli/option.rb
#count ⇒ Object (readonly)
A count of how many times this option has been given on the command line. Useful for flags that might be specified repeatedly, like -vvv to raise verbosity three times.
25 26 27 |
# File 'lib/ark/cli/option.rb', line 25 def count @count end |