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