class Optimist::CommandlineError
Thrown by Parser
in the event of a commandline error. Not needed if you’re using the Optimist::options
entry.
Attributes
Public Class Methods
Source
# File lib/optimist.rb, line 18 def initialize(msg, error_code = nil) super(msg) @error_code = error_code end
Calls superclass method