Exception: UnacceptableCommand
- Defined in:
- lib/poolparty/exceptions/UnacceptableCommand.rb
Instance Method Summary collapse
-
#initialize(msg = "Unacceptable command") ⇒ UnacceptableCommand
constructor
A new instance of UnacceptableCommand.
Constructor Details
#initialize(msg = "Unacceptable command") ⇒ UnacceptableCommand
Returns a new instance of UnacceptableCommand.
2 3 4 |
# File 'lib/poolparty/exceptions/UnacceptableCommand.rb', line 2 def initialize(msg="Unacceptable command") @message = "Disallowed or unacceptable command error: #{msg}" end |