class Slop::MissingArgument

Raised when an option that expects an argument is executed without one. Suppress with the `suppress_errors` config option.

Attributes

flags[R]

Public Class Methods

new(msg, flags) click to toggle source

Get all the flags that matches the option with the missing argument

Calls superclass method
# File lib/slop/error.rb, line 19
def initialize(msg, flags)
  super(msg)
  @flags = flags
end