Method: ShellOpts::Command#__subcommand__
- Defined in:
- lib/shellopts/program.rb
#__subcommand__ ⇒ Object
The subcommand identifier (a Symbol incl. the exclamation mark) or nil if not present. Use #subcommand!, or the dynamically generated ‘#<identifier>!’ method to get the actual subcommand object
181 |
# File 'lib/shellopts/program.rb', line 181 def __subcommand__() @__subcommand__&.__ident__ end |