Method: Filigree::Commands::ClassMethods#param

Defined in:
lib/filigree/commands.rb

#param(name, description) ⇒ void

This method returns an undefined value.

Add a description for a command’s parameter.

Parameters:

  • name (String)

    Name of the parameter

  • description (String)

    Description of the parameter.



173
174
175
# File 'lib/filigree/commands.rb', line 173

def param(name, description)
  @param_docs << [name, description]
end