Method: Climate::Command.description

Defined in:
lib/climate/command.rb

.description(string = nil) ⇒ Object

Set the description for this command

Parameters:

  • string (String) (defaults to: nil)

    Description/Banner/Help text



127
128
129
130
131
132
133
# File 'lib/climate/command.rb', line 127

def description(string=nil)
  if string
    @description = string
  else
    @description
  end
end