Exception: Acter::HelpWanted

Inherits:
InvalidCommand show all
Defined in:
lib/acter/error.rb

Instance Attribute Summary

Attributes inherited from InvalidCommand

#action, #params, #schema, #subject

Instance Method Summary collapse

Constructor Details

#initialize(action, subject, schema) ⇒ HelpWanted

Returns a new instance of HelpWanted.



84
85
86
# File 'lib/acter/error.rb', line 84

def initialize(action, subject, schema)
  super(schema, subject, action)
end

Instance Method Details

#to_sObject



87
88
89
# File 'lib/acter/error.rb', line 87

def to_s
  "Command-line help"
end