Exception: AyeCommander::UnexpectedReceivedArgumentError

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

Overview

Raised when the command specifies ‘receives’ and receives one or more unexpected arguments

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



28
29
30
# File 'lib/aye_commander/errors.rb', line 28

def message
  "Received unexpected arguments: #{@info}"
end