Method: Cmds#args

Defined in:
lib/cmds.rb

#argsArray<Object> (readonly)

base/common positional parameters to render into the command template.

defaults to [].

#prepare and the methods that invoke it (like #capture, #stream, etc.) accept *args, which will be appended to these values to create the final array for rendering.

Returns:

  • (Array<Object>)


60
61
62
# File 'lib/cmds.rb', line 60

def args
  @args
end