class Slop::UnknownOption
Raised when an unknown option is parsed or when trying to fetch an unexisting option via `Slop::Result#fetch`. Suppress with the `suppress_errors` config option.
Attributes
flag[R]
Public Class Methods
new(msg, flag)
click to toggle source
Calls superclass method
# File lib/slop/error.rb, line 31 def initialize(msg, flag) super(msg) @flag = flag end