class Slop::InvalidOptionValue
Raised when a given option is provided by the user and does not match the expected format for that type. This is only raised if validate_types is set to true.
Attributes
flag[R]
Public Class Methods
new(msg, flag)
click to toggle source
Calls superclass method
# File lib/slop/error.rb, line 48 def initialize(msg, flag) super(msg) @flag = flag end