Exception: Drydock::OptError

Inherits:
ArgError show all
Defined in:
lib/drydock.rb

Instance Attribute Summary

Attributes inherited from ArgError

#arg, #cmd, #msg

Instance Method Summary collapse

Methods inherited from ArgError

#initialize, #usage

Constructor Details

This class inherits a constructor from Drydock::ArgError

Instance Method Details

#messageObject



55
# File 'lib/drydock.rb', line 55

def message; @msg || "Error: No #{@arg} provided"; end