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



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

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