Class: Commander::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/hoopla_salesforce/ext/commander.rb

Overview

Automatically include the executable and command name in the syntax statment

Instance Method Summary collapse

Instance Method Details

#syntax=(syntax) ⇒ Object



4
5
6
# File 'lib/hoopla_salesforce/ext/commander.rb', line 4

def syntax=(syntax)
  @syntax = "#{HooplaSalesforce.name} #{@name} #{syntax}"
end