Exception: AyeCommander::MissingRequiredArgumentError

Inherits:
Error
  • Object
show all
Defined in:
lib/aye_commander/errors.rb

Overview

Raised when command specifies 'requires' and one or more required arguments are missing when called.

Instance Method Summary collapse

Methods inherited from Error

#initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from AyeCommander::Error

Instance Method Details

#messageObject


20
21
22
# File 'lib/aye_commander/errors.rb', line 20

def message
  "Missing required arguments: #{@info}"
end